#CD74E9#CD74E9
#CD74E9 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.2% C 0.186 H 317.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CD74E9 |
|---|---|
| RGB | rgb(205, 116, 233) |
| HSL | hsl(286, 73%, 68%) |
| HSV | hsv(286, 50%, 91%) |
| CMYK | cmyk(12%, 50.2%, 0%, 8.6%) |
| CIE-LAB | lab(62.81, 53.25, -45.12) |
| CIE-LCH | lch(62.81, 69.79, 319.72°) |
| OKLab | oklab(70.15% 0.1373 -0.1253) |
| OKLCH | oklch(70.15% 0.186 317.6) |
| XYZ | xyz(46.1281, 31.3547, 80.6972) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.94
Orchid
#DA70D6
ΔE00 4.80
Easter Purple
#C071FE
ΔE00 4.85
Bright Lilac
#C95EFB
ΔE00 5.55
Bright Lavender
#C760FF
ΔE00 5.77
Light Urple
#B36FF6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD74E9 #90E974
analogous
#9274E9 #CD74E9 #E974CA
triadic
#CD74E9 #E9CD74 #74E9CD
tetradic
#CD74E9 #E99274 #90E974 #74CAE9
square
#CD74E9 #E99274 #90E974 #74CAE9
split-complementary
#CD74E9 #CAE974 #74E992
monochromatic
#9C1FC4 #BA3FE1 #CD74E9 #E0A9F1 #F3DEFA
Accessibility & contrast
On white
2.89
#CD74E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#CD74E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD74E9
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD74E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD74E9 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D92ED
Deuteranopia (green-blind)
#789BE6
Tritanopia (blue-blind)
#CD85A4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd74e9; /* rgb */ color: rgb(205, 116, 233); /* oklch */ color: oklch(70.2% 0.186 317.6);
Tailwind
colors: {
custom: {
50: '#de9ff0',
500: '#cd74e9',
950: '#000000',
},
}SCSS
$custom: #cd74e9; $custom-light: #de9ff0; $custom-dark: #000000;
JSON
{
"hex": "#cd74e9",
"rgb": {
"r": 205,
"g": 116,
"b": 233
},
"hsl": {
"h": 285.641,
"s": 72.671,
"l": 68.431
},
"oklch": {
"l": 0.70153,
"c": 0.18586,
"h": 317.6
},
"luminance": 0.31353
}Semantic roles & 50–950 ramp
primary
#CD74E9
secondary
#D3EECB
accent
#D51140
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84