#CD7FE5#CD7FE5
#CD7FE5 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.6% C 0.164 H 317.9°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE5 |
|---|---|
| RGB | rgb(205, 127, 229) |
| HSL | hsl(286, 66%, 70%) |
| HSV | hsv(286, 45%, 90%) |
| CMYK | cmyk(10.5%, 44.5%, 0%, 10.2%) |
| CIE-LAB | lab(64.82, 46.78, -39.74) |
| CIE-LCH | lch(64.82, 61.38, 319.65°) |
| OKLab | oklab(71.59% 0.1216 -0.1098) |
| OKLCH | oklch(71.59% 0.164 317.9) |
| XYZ | xyz(46.9071, 33.8165, 78.1699) |
| Luminance | 0.3382 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.91
Light Purple
#BF77F6
ΔE00 5.22
Lavender Pink
#DD85D7
ΔE00 5.47
Violet (CSS)
#EE82EE
ΔE00 5.71
Liliac
#C48EFD
ΔE00 5.99
Orchid (survey)
#C875C4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE5 #97E57F
analogous
#9A7FE5 #CD7FE5 #E57FCA
triadic
#CD7FE5 #E5CD7F #7FE5CD
tetradic
#CD7FE5 #E59A7F #97E57F #7FCAE5
square
#CD7FE5 #E59A7F #97E57F #7FCAE5
split-complementary
#CD7FE5 #CAE57F #7FE59A
monochromatic
#9E27C2 #B94CDB #CD7FE5 #E1B2EF #F5E5FA
Accessibility & contrast
On white
2.71
#CD7FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CD7FE5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE5
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE5 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E98E9
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#CD8DA7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7fe5; /* rgb */ color: rgb(205, 127, 229); /* oklch */ color: oklch(71.6% 0.164 317.9);
Tailwind
colors: {
custom: {
50: '#dea6ed',
500: '#cd7fe5',
950: '#000000',
},
}SCSS
$custom: #cd7fe5; $custom-light: #dea6ed; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe5",
"rgb": {
"r": 205,
"g": 127,
"b": 229
},
"hsl": {
"h": 285.882,
"s": 66.234,
"l": 69.804
},
"oklch": {
"l": 0.71587,
"c": 0.16385,
"h": 317.9
},
"luminance": 0.33815
}Semantic roles & 50–950 ramp
primary
#CD7FE5
secondary
#D8EED1
accent
#CE1742
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84