#CD7FE6#CD7FE6
#CD7FE6 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.165 H 317.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE6 |
|---|---|
| RGB | rgb(205, 127, 230) |
| HSL | hsl(285, 67%, 70%) |
| HSV | hsv(285, 45%, 90%) |
| CMYK | cmyk(10.9%, 44.8%, 0%, 9.8%) |
| CIE-LAB | lab(64.86, 46.98, -40.23) |
| CIE-LCH | lch(64.86, 61.85, 319.43°) |
| OKLab | oklab(71.64% 0.1217 -0.1112) |
| OKLCH | oklch(71.64% 0.165 317.6) |
| XYZ | xyz(47.0471, 33.8725, 78.9073) |
| Luminance | 0.3387 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 5.03
Light Purple
#BF77F6
ΔE00 5.07
Lavender Pink
#DD85D7
ΔE00 5.62
Violet (CSS)
#EE82EE
ΔE00 5.75
Liliac
#C48EFD
ΔE00 5.86
Orchid (survey)
#C875C4
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE6 #98E67F
analogous
#9A7FE6 #CD7FE6 #E67FCB
triadic
#CD7FE6 #E6CD7F #7FE6CD
tetradic
#CD7FE6 #E69A7F #98E67F #7FCBE6
square
#CD7FE6 #E69A7F #98E67F #7FCBE6
split-complementary
#CD7FE6 #CBE67F #7FE69A
monochromatic
#9E26C4 #B94CDC #CD7FE6 #E1B2F0 #F5E5FA
Accessibility & contrast
On white
2.70
#CD7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.77
#CD7FE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE6
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE6 | 1.00 | 2.70 | 7.77 | 7.77 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D98EA
Deuteranopia (green-blind)
#83A0E3
Tritanopia (blue-blind)
#CD8DA8
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7fe6; /* rgb */ color: rgb(205, 127, 230); /* oklch */ color: oklch(71.6% 0.165 317.6);
Tailwind
colors: {
custom: {
50: '#dea6ee',
500: '#cd7fe6',
950: '#000000',
},
}SCSS
$custom: #cd7fe6; $custom-light: #dea6ee; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe6",
"rgb": {
"r": 205,
"g": 127,
"b": 230
},
"hsl": {
"h": 285.437,
"s": 67.32,
"l": 70
},
"oklch": {
"l": 0.71635,
"c": 0.16491,
"h": 317.6
},
"luminance": 0.33871
}Semantic roles & 50–950 ramp
primary
#CD7FE6
secondary
#D9EFD2
accent
#CF1643
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84