Color #904ea8
A muted medium purple.
Conversions
#904ea8
rgb(144, 78, 168)
hsl(284, 36.6%, 48.2%)
hsv(284, 53.6%, 65.9%)
cmyk(14.3%, 53.6%, 0%, 34.1%)
lab(44.53, 42.78, -37.26)
lch(44.53, 56.73, 318.95)
oklch(54%, 0.1503, 316.32)
hwb(284, 30.6%, 34.1%)
Harmony colors
Accessibility
White text reads better on this background (5.47:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#797898 · ΔE 17.4
Deuteranopia
#7c8194 · ΔE 21
Tritanopia
#8e8a87 · ΔE 29.9
Achromatopsia
#696969 · ΔE 25.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #904ea8;
bg-[#904ea8]
Related colors
Frequently asked questions
#904ea8 (#904ea8) is rgb(144, 78, 168) in RGB.
No, #904ea8 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #904ea8, or check how it holds up for accessibility.