#CD8FDA#CD8FDA
#CD8FDA is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.7% C 0.125 H 320.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8FDA |
|---|---|
| RGB | rgb(205, 143, 218) |
| HSL | hsl(290, 50%, 71%) |
| HSV | hsv(290, 34%, 85%) |
| CMYK | cmyk(6%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(67.79, 36.05, -29.03) |
| CIE-LCH | lch(67.79, 46.28, 321.15°) |
| OKLab | oklab(73.67% 0.0962 -0.0793) |
| OKLCH | oklch(73.67% 0.125 320.5) |
| XYZ | xyz(47.6526, 37.6874, 71.0803) |
| Luminance | 0.3769 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.13
Pale Purple
#B790D4
ΔE00 4.62
Plum
#DDA0DD
ΔE00 5.36
Lavender (survey)
#C79FEF
ΔE00 6.01
Baby Purple
#CA9BF7
ΔE00 6.24
Violet (CSS)
#EE82EE
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8FDA #9CDA8F
analogous
#A78FDA #CD8FDA #DA8FC1
triadic
#CD8FDA #DACD8F #8FDACD
tetradic
#CD8FDA #DAA78F #9CDA8F #8FC1DA
square
#CD8FDA #DAA78F #9CDA8F #8FC1DA
split-complementary
#CD8FDA #C1DA8F #8FDAA7
monochromatic
#9F3BB3 #B861CB #CD8FDA #E2BDE9 #F5E8F7
Accessibility & contrast
On white
2.46
#CD8FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#CD8FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8FDA
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8FDA | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#86A1DD
Deuteranopia (green-blind)
#95A7D8
Tritanopia (blue-blind)
#CE97AB
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #cd8fda; /* rgb */ color: rgb(205, 143, 218); /* oklch */ color: oklch(73.7% 0.125 320.5);
Tailwind
colors: {
custom: {
50: '#ddb0e5',
500: '#cd8fda',
950: '#000000',
},
}SCSS
$custom: #cd8fda; $custom-light: #ddb0e5; $custom-dark: #000000;
JSON
{
"hex": "#cd8fda",
"rgb": {
"r": 205,
"g": 143,
"b": 218
},
"hsl": {
"h": 289.6,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.73672,
"c": 0.12468,
"h": 320.5
},
"luminance": 0.37686
}Semantic roles & 50–950 ramp
primary
#CD8FDA
secondary
#DCECD8
accent
#BE2842
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84