#CD8CD1#CD8CD1
#CD8CD1 is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.8% C 0.121 H 324.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CD1 |
|---|---|
| RGB | rgb(205, 140, 209) |
| HSL | hsl(297, 43%, 68%) |
| HSV | hsv(297, 33%, 82%) |
| CMYK | cmyk(1.9%, 33%, 0%, 18%) |
| CIE-LAB | lab(66.78, 35.93, -25.59) |
| CIE-LCH | lch(66.78, 44.11, 324.54°) |
| OKLab | oklab(72.79% 0.0984 -0.0696) |
| OKLCH | oklch(72.79% 0.121 324.7) |
| XYZ | xyz(46.0624, 36.3404, 64.8972) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.50
Plum
#DDA0DD
ΔE00 5.40
Pale Purple
#B790D4
ΔE00 5.45
Orchid (survey)
#C875C4
ΔE00 5.83
Violet (CSS)
#EE82EE
ΔE00 7.08
Orchid
#DA70D6
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CD1 #90D18C
analogous
#AA8CD1 #CD8CD1 #D18CB2
triadic
#CD8CD1 #D1CD8C #8CD1CD
tetradic
#CD8CD1 #D1AA8C #90D18C #8CB2D1
square
#CD8CD1 #D1AA8C #90D18C #8CB2D1
split-complementary
#CD8CD1 #B2D18C #8CD1AA
monochromatic
#9C41A2 #BA60C0 #CD8CD1 #E0B8E2 #F3E3F4
Accessibility & contrast
On white
2.54
#CD8CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#CD8CD1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CD1
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CD1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CD1 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#869DD4
Deuteranopia (green-blind)
#96A5CF
Tritanopia (blue-blind)
#D093A5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cd8cd1; /* rgb */ color: rgb(205, 140, 209); /* oklch */ color: oklch(72.8% 0.121 324.7);
Tailwind
colors: {
custom: {
50: '#ddaedf',
500: '#cd8cd1',
950: '#000000',
},
}SCSS
$custom: #cd8cd1; $custom-light: #ddaedf; $custom-dark: #000000;
JSON
{
"hex": "#cd8cd1",
"rgb": {
"r": 205,
"g": 140,
"b": 209
},
"hsl": {
"h": 296.522,
"s": 42.857,
"l": 68.431
},
"oklch": {
"l": 0.72794,
"c": 0.12051,
"h": 324.7
},
"luminance": 0.36339
}Semantic roles & 50–950 ramp
primary
#CD8CD1
secondary
#D3E7D2
accent
#B63037
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83