#904AAF#904AAF
#904AAF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.8% C 0.164 H 314.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #904AAF |
|---|---|
| RGB | rgb(144, 74, 175) |
| HSL | hsl(282, 41%, 49%) |
| HSV | hsv(282, 58%, 69%) |
| CMYK | cmyk(17.7%, 57.7%, 0%, 31.4%) |
| CIE-LAB | lab(44.12, 46.39, -42.04) |
| CIE-LCH | lch(44.12, 62.60, 317.82°) |
| OKLab | oklab(53.8% 0.1146 -0.1177) |
| OKLCH | oklch(53.8% 0.164 314.2) |
| XYZ | xyz(21.6870, 13.9226, 42.0941) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.54
Medium Purple
#9E43A2
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 5.28
Deep Lavender
#8D5EB7
ΔE00 5.57
Ugly Purple
#A442A0
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904AAF #69AF4A
analogous
#5E4AAF #904AAF #AF4A9C
triadic
#904AAF #AF904A #4AAF90
tetradic
#904AAF #AF5E4A #69AF4A #4A9CAF
square
#904AAF #AF5E4A #69AF4A #4A9CAF
split-complementary
#904AAF #9CAF4A #4AAF5E
monochromatic
#492659 #6D3884 #904AAF #AB73C4 #C59ED6
Accessibility & contrast
On white
5.55
#904AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#904AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904AAF
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904AAF | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D64B2
Deuteranopia (green-blind)
#476AAC
Tritanopia (blue-blind)
#8D5B75
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #904aaf; /* rgb */ color: rgb(144, 74, 175); /* oklch */ color: oklch(53.8% 0.164 314.2);
Tailwind
colors: {
custom: {
50: '#b380c7',
500: '#904aaf',
950: '#000000',
},
}SCSS
$custom: #904aaf; $custom-light: #b380c7; $custom-dark: #000000;
JSON
{
"hex": "#904aaf",
"rgb": {
"r": 144,
"g": 74,
"b": 175
},
"hsl": {
"h": 281.584,
"s": 40.562,
"l": 48.824
},
"oklch": {
"l": 0.53797,
"c": 0.16425,
"h": 314.2
},
"luminance": 0.13922
}Semantic roles & 50–950 ramp
primary
#904AAF
secondary
#A1C292
accent
#D0577D
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82