#CD7BE8#CD7BE8
#CD7BE8 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.1% C 0.174 H 317.3°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BE8 |
|---|---|
| RGB | rgb(205, 123, 232) |
| HSL | hsl(285, 70%, 70%) |
| HSV | hsv(285, 47%, 91%) |
| CMYK | cmyk(11.6%, 47%, 0%, 9%) |
| CIE-LAB | lab(64.14, 49.47, -42.47) |
| CIE-LCH | lch(64.14, 65.20, 319.35°) |
| OKLab | oklab(71.13% 0.1276 -0.1177) |
| OKLCH | oklch(71.13% 0.174 317.3) |
| XYZ | xyz(46.8232, 32.9727, 80.2262) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.37
Orchid
#DA70D6
ΔE00 4.90
Easter Purple
#C071FE
ΔE00 5.65
Violet (CSS)
#EE82EE
ΔE00 6.11
Liliac
#C48EFD
ΔE00 6.13
Lavender Pink
#DD85D7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BE8 #96E87B
analogous
#977BE8 #CD7BE8 #E87BCC
triadic
#CD7BE8 #E8CD7B #7BE8CD
tetradic
#CD7BE8 #E8977B #96E87B #7BCCE8
square
#CD7BE8 #E8977B #96E87B #7BCCE8
split-complementary
#CD7BE8 #CCE87B #7BE897
monochromatic
#9E23C6 #B947DF #CD7BE8 #E1AFF1 #F4E3FA
Accessibility & contrast
On white
2.77
#CD7BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#CD7BE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BE8
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BE8 | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6796EC
Deuteranopia (green-blind)
#7F9EE5
Tritanopia (blue-blind)
#CC8AA7
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd7be8; /* rgb */ color: rgb(205, 123, 232); /* oklch */ color: oklch(71.1% 0.174 317.3);
Tailwind
colors: {
custom: {
50: '#dea3f0',
500: '#cd7be8',
950: '#000000',
},
}SCSS
$custom: #cd7be8; $custom-light: #dea3f0; $custom-dark: #000000;
JSON
{
"hex": "#cd7be8",
"rgb": {
"r": 205,
"g": 123,
"b": 232
},
"hsl": {
"h": 285.138,
"s": 70.323,
"l": 69.608
},
"oklch": {
"l": 0.71126,
"c": 0.17358,
"h": 317.3
},
"luminance": 0.32971
}Semantic roles & 50–950 ramp
primary
#CD7BE8
secondary
#D8EFD0
accent
#D21343
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84