#904CDD#904CDD
#904CDD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.212 H 301.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #904CDD |
|---|---|
| RGB | rgb(144, 76, 221) |
| HSL | hsl(268, 68%, 58%) |
| HSV | hsv(268, 66%, 87%) |
| CMYK | cmyk(34.8%, 65.6%, 0%, 13.3%) |
| CIE-LAB | lab(47.39, 56.00, -63.41) |
| CIE-LCH | lch(47.39, 84.60, 311.45°) |
| OKLab | oklab(57.09% 0.1106 -0.1804) |
| OKLCH | oklch(57.09% 0.212 301.5) |
| XYZ | xyz(27.1341, 16.3185, 70.1129) |
| Luminance | 0.1632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.05
Lightish Purple
#A552E6
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 5.74
Blueviolet
#8A2BE2
ΔE00 6.03
Electric Purple
#AA23FF
ΔE00 6.22
Lighter Purple
#A55AF4
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#904CDD #99DD4C
analogous
#4C50DD #904CDD #D84CDD
triadic
#904CDD #DD904C #4CDD90
tetradic
#904CDD #DD4C50 #99DD4C #4CDDD8
square
#904CDD #DD4C50 #99DD4C #4CDDD8
split-complementary
#904CDD #DDD84C #50DD4C
monochromatic
#541C93 #7126C6 #904CDD #B07FE7 #D0B3F1
Accessibility & contrast
On white
4.93
#904CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#904CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #904CDD
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##904CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##904CDD | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#806D8E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #904cdd; /* rgb */ color: rgb(144, 76, 221); /* oklch */ color: oklch(57.1% 0.212 301.5);
Tailwind
colors: {
custom: {
50: '#b682e8',
500: '#904cdd',
950: '#000000',
},
}SCSS
$custom: #904cdd; $custom-light: #b682e8; $custom-dark: #000000;
JSON
{
"hex": "#904cdd",
"rgb": {
"r": 144,
"g": 76,
"b": 221
},
"hsl": {
"h": 268.138,
"s": 68.075,
"l": 58.235
},
"oklch": {
"l": 0.57093,
"c": 0.21154,
"h": 301.5
},
"luminance": 0.16319
}Semantic roles & 50–950 ramp
primary
#904CDD
secondary
#C4DFA6
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84