#CD7FE8#CD7FE8
#CD7FE8 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.7% C 0.167 H 317.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE8 |
|---|---|
| RGB | rgb(205, 127, 232) |
| HSL | hsl(285, 70%, 70%) |
| HSV | hsv(285, 45%, 91%) |
| CMYK | cmyk(11.6%, 45.3%, 0%, 9%) |
| CIE-LAB | lab(64.95, 47.38, -41.20) |
| CIE-LCH | lch(64.95, 62.79, 319.00°) |
| OKLab | oklab(71.73% 0.1221 -0.114) |
| OKLCH | oklch(71.73% 0.167 317) |
| XYZ | xyz(47.3296, 33.9855, 80.3950) |
| Luminance | 0.3398 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.78
Orchid
#DA70D6
ΔE00 5.27
Liliac
#C48EFD
ΔE00 5.60
Violet (CSS)
#EE82EE
ΔE00 5.84
Lavender Pink
#DD85D7
ΔE00 5.91
Easter Purple
#C071FE
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE8 #9AE87F
analogous
#987FE8 #CD7FE8 #E87FCF
triadic
#CD7FE8 #E8CD7F #7FE8CD
tetradic
#CD7FE8 #E8987F #9AE87F #7FCFE8
square
#CD7FE8 #E8987F #9AE87F #7FCFE8
split-complementary
#CD7FE8 #CFE87F #7FE898
monochromatic
#9E24C9 #B94BDF #CD7FE8 #E1B3F1 #F5E5FA
Accessibility & contrast
On white
2.69
#CD7FE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#CD7FE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE8
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE8 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C99EC
Deuteranopia (green-blind)
#82A0E5
Tritanopia (blue-blind)
#CC8EA9
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7fe8; /* rgb */ color: rgb(205, 127, 232); /* oklch */ color: oklch(71.7% 0.167 317.0);
Tailwind
colors: {
custom: {
50: '#dea6ef',
500: '#cd7fe8',
950: '#000000',
},
}SCSS
$custom: #cd7fe8; $custom-light: #dea6ef; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe8",
"rgb": {
"r": 205,
"g": 127,
"b": 232
},
"hsl": {
"h": 284.571,
"s": 69.536,
"l": 70.392
},
"oklch": {
"l": 0.71731,
"c": 0.16703,
"h": 317
},
"luminance": 0.33984
}Semantic roles & 50–950 ramp
primary
#CD7FE8
secondary
#DAF0D3
accent
#D21445
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84