#CD74E6#CD74E6
#CD74E6 is a light, vivid purple. Relative luminance 0.312; OKLCH L 70.0% C 0.183 H 318.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #CD74E6 |
|---|---|
| RGB | rgb(205, 116, 230) |
| HSL | hsl(287, 70%, 68%) |
| HSV | hsv(287, 50%, 90%) |
| CMYK | cmyk(10.9%, 49.6%, 0%, 9.8%) |
| CIE-LAB | lab(62.66, 52.65, -43.68) |
| CIE-LCH | lch(62.66, 68.41, 320.32°) |
| OKLab | oklab(70% 0.1369 -0.1211) |
| OKLCH | oklch(70% 0.183 318.5) |
| XYZ | xyz(45.7032, 31.1847, 78.4594) |
| Luminance | 0.3118 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.36
Easter Purple
#C071FE
ΔE00 5.31
Bright Lilac
#C95EFB
ΔE00 5.86
Bright Lavender
#C760FF
ΔE00 6.13
Orchid (survey)
#C875C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD74E6 #8DE674
analogous
#9474E6 #CD74E6 #E674C6
triadic
#CD74E6 #E6CD74 #74E6CD
tetradic
#CD74E6 #E69474 #8DE674 #74C6E6
square
#CD74E6 #E69474 #8DE674 #74C6E6
split-complementary
#CD74E6 #C6E674 #74E694
monochromatic
#9B22BE #BA40DD #CD74E6 #E0A8EF #F2DCF9
Accessibility & contrast
On white
2.90
#CD74E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#CD74E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD74E6
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD74E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD74E6 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F92EA
Deuteranopia (green-blind)
#7A9BE3
Tritanopia (blue-blind)
#CD84A3
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cd74e6; /* rgb */ color: rgb(205, 116, 230); /* oklch */ color: oklch(70.0% 0.183 318.5);
Tailwind
colors: {
custom: {
50: '#de9fee',
500: '#cd74e6',
950: '#000000',
},
}SCSS
$custom: #cd74e6; $custom-light: #de9fee; $custom-dark: #000000;
JSON
{
"hex": "#cd74e6",
"rgb": {
"r": 205,
"g": 116,
"b": 230
},
"hsl": {
"h": 286.842,
"s": 69.512,
"l": 67.843
},
"oklch": {
"l": 0.70001,
"c": 0.1828,
"h": 318.5
},
"luminance": 0.31183
}Semantic roles & 50–950 ramp
primary
#CD74E6
secondary
#D1ECC9
accent
#D1143E
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84