#CD8CD6#CD8CD6
#CD8CD6 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.0% C 0.126 H 322.5°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CD6 |
|---|---|
| RGB | rgb(205, 140, 214) |
| HSL | hsl(293, 47%, 69%) |
| HSV | hsv(293, 35%, 84%) |
| CMYK | cmyk(4.2%, 34.6%, 0%, 16.1%) |
| CIE-LAB | lab(66.97, 36.89, -28.08) |
| CIE-LCH | lch(66.97, 46.36, 322.73°) |
| OKLab | oklab(73% 0.0997 -0.0766) |
| OKLCH | oklch(73% 0.126 322.5) |
| XYZ | xyz(46.6911, 36.5919, 68.2087) |
| Luminance | 0.3659 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.51
Pale Purple
#B790D4
ΔE00 5.03
Plum
#DDA0DD
ΔE00 5.69
Orchid (survey)
#C875C4
ΔE00 5.99
Violet (CSS)
#EE82EE
ΔE00 6.56
Orchid
#DA70D6
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CD6 #95D68C
analogous
#A88CD6 #CD8CD6 #D68CBA
triadic
#CD8CD6 #D6CD8C #8CD6CD
tetradic
#CD8CD6 #D6A88C #95D68C #8CBAD6
square
#CD8CD6 #D6A88C #95D68C #8CBAD6
split-complementary
#CD8CD6 #BAD68C #8CD6A8
monochromatic
#9D3DAB #B95FC6 #CD8CD6 #E1B9E6 #F4E6F6
Accessibility & contrast
On white
2.52
#CD8CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.32
#CD8CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CD6
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CD6 | 1.00 | 2.52 | 8.32 | 8.32 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#849ED9
Deuteranopia (green-blind)
#94A6D4
Tritanopia (blue-blind)
#CF94A7
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cd8cd6; /* rgb */ color: rgb(205, 140, 214); /* oklch */ color: oklch(73.0% 0.126 322.5);
Tailwind
colors: {
custom: {
50: '#ddaee2',
500: '#cd8cd6',
950: '#000000',
},
}SCSS
$custom: #cd8cd6; $custom-light: #ddaee2; $custom-dark: #000000;
JSON
{
"hex": "#cd8cd6",
"rgb": {
"r": 205,
"g": 140,
"b": 214
},
"hsl": {
"h": 292.703,
"s": 47.436,
"l": 69.412
},
"oklch": {
"l": 0.73001,
"c": 0.12569,
"h": 322.5
},
"luminance": 0.3659
}Semantic roles & 50–950 ramp
primary
#CD8CD6
secondary
#D7EAD4
accent
#BB2B3C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83