#CD7FE4#CD7FE4
#CD7FE4 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.5% C 0.163 H 318.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE4 |
|---|---|
| RGB | rgb(205, 127, 228) |
| HSL | hsl(286, 65%, 70%) |
| HSV | hsv(286, 44%, 89%) |
| CMYK | cmyk(10.1%, 44.3%, 0%, 10.6%) |
| CIE-LAB | lab(64.77, 46.58, -39.26) |
| CIE-LCH | lch(64.77, 60.92, 319.87°) |
| OKLab | oklab(71.54% 0.1214 -0.1084) |
| OKLCH | oklch(71.54% 0.163 318.2) |
| XYZ | xyz(46.7679, 33.7608, 77.4367) |
| Luminance | 0.3376 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.80
Lavender Pink
#DD85D7
ΔE00 5.32
Light Purple
#BF77F6
ΔE00 5.37
Violet (CSS)
#EE82EE
ΔE00 5.68
Orchid (survey)
#C875C4
ΔE00 5.93
Liliac
#C48EFD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE4 #96E47F
analogous
#9B7FE4 #CD7FE4 #E47FC8
triadic
#CD7FE4 #E4CD7F #7FE4CD
tetradic
#CD7FE4 #E49B7F #96E47F #7FC8E4
square
#CD7FE4 #E49B7F #96E47F #7FC8E4
split-complementary
#CD7FE4 #C8E47F #7FE49B
monochromatic
#9E29C0 #B94CD9 #CD7FE4 #E1B2EF #F4E4F9
Accessibility & contrast
On white
2.71
#CD7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#CD7FE4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE4
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE4 | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E98E8
Deuteranopia (green-blind)
#84A0E1
Tritanopia (blue-blind)
#CD8CA7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7fe4; /* rgb */ color: rgb(205, 127, 228); /* oklch */ color: oklch(71.5% 0.163 318.2);
Tailwind
colors: {
custom: {
50: '#dea6ed',
500: '#cd7fe4',
950: '#000000',
},
}SCSS
$custom: #cd7fe4; $custom-light: #dea6ed; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe4",
"rgb": {
"r": 205,
"g": 127,
"b": 228
},
"hsl": {
"h": 286.337,
"s": 65.161,
"l": 69.608
},
"oklch": {
"l": 0.71539,
"c": 0.16279,
"h": 318.2
},
"luminance": 0.33759
}Semantic roles & 50–950 ramp
primary
#CD7FE4
secondary
#D8EED1
accent
#CD1942
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84