#CD8DCD#CD8DCD
#CD8DCD is a light, moderate purple. Relative luminance 0.364; OKLCH L 72.8% C 0.115 H 326.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8DCD |
|---|---|
| RGB | rgb(205, 141, 205) |
| HSL | hsl(300, 39%, 68%) |
| HSV | hsv(300, 31%, 80%) |
| CMYK | cmyk(0%, 31.2%, 0%, 19.6%) |
| CIE-LAB | lab(66.85, 34.64, -23.25) |
| CIE-LCH | lch(66.85, 41.72, 326.13°) |
| OKLab | oklab(72.8% 0.0958 -0.063) |
| OKLCH | oklch(72.8% 0.115 326.7) |
| XYZ | xyz(45.7201, 36.4383, 62.3707) |
| Luminance | 0.3644 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 3.94
Plum
#DDA0DD
ΔE00 5.11
Pale Purple
#B790D4
ΔE00 5.90
Orchid (survey)
#C875C4
ΔE00 6.14
Lilac
#C8A2C8
ΔE00 7.54
Orchid
#DA70D6
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8DCD #8DCD8D
analogous
#AD8DCD #CD8DCD #CD8DAD
triadic
#CD8DCD #CDCD8D #8DCDCD
tetradic
#CD8DCD #CDAD8D #8DCD8D #8DADCD
square
#CD8DCD #CDAD8D #8DCD8D #8DADCD
split-complementary
#CD8DCD #ADCD8D #8DCDAD
monochromatic
#9B449B #BA62BA #CD8DCD #E0B8E0 #F2E2F2
Accessibility & contrast
On white
2.53
#CD8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#CD8DCD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8DCD
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8DCD | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#98A6CB
Tritanopia (blue-blind)
#D193A4
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cd8dcd; /* rgb */ color: rgb(205, 141, 205); /* oklch */ color: oklch(72.8% 0.115 326.7);
Tailwind
colors: {
custom: {
50: '#ddafdc',
500: '#cd8dcd',
950: '#000000',
},
}SCSS
$custom: #cd8dcd; $custom-light: #ddafdc; $custom-dark: #000000;
JSON
{
"hex": "#cd8dcd",
"rgb": {
"r": 205,
"g": 141,
"b": 205
},
"hsl": {
"h": 300,
"s": 39.024,
"l": 67.843
},
"oklch": {
"l": 0.72801,
"c": 0.11468,
"h": 326.7
},
"luminance": 0.36437
}Semantic roles & 50–950 ramp
primary
#CD8DCD
secondary
#D1E5D1
accent
#B23333
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83