#CD8DF2#CD8DF2
#CD8DF2 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.4% C 0.155 H 312.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8DF2 |
|---|---|
| RGB | rgb(205, 141, 242) |
| HSL | hsl(278, 80%, 75%) |
| HSV | hsv(278, 42%, 95%) |
| CMYK | cmyk(15.3%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(68.34, 42.02, -41.39) |
| CIE-LCH | lch(68.34, 58.98, 315.43°) |
| OKLab | oklab(74.42% 0.1042 -0.1147) |
| OKLCH | oklch(74.42% 0.155 312.3) |
| XYZ | xyz(50.7260, 38.4407, 88.7348) |
| Luminance | 0.3844 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.14
Baby Purple
#CA9BF7
ΔE00 3.72
Lavender (survey)
#C79FEF
ΔE00 5.21
Pastel Purple
#CAA0FF
ΔE00 5.24
Lilac (survey)
#CEA2FD
ΔE00 5.31
Light Purple
#BF77F6
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8DF2 #B2F28D
analogous
#9A8DF2 #CD8DF2 #F28DE4
triadic
#CD8DF2 #F2CD8D #8DF2CD
tetradic
#CD8DF2 #F29A8D #B2F28D #8DE4F2
square
#CD8DF2 #F29A8D #B2F28D #8DE4F2
split-complementary
#CD8DF2 #E4F28D #8DF29A
monochromatic
#9D1FE5 #B556EC #CD8DF2 #E5C4F8 #F3E4FC
Accessibility & contrast
On white
2.42
#CD8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#CD8DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8DF2
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8DF2 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#C99CB4
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd8df2; /* rgb */ color: rgb(205, 141, 242); /* oklch */ color: oklch(74.4% 0.155 312.3);
Tailwind
colors: {
custom: {
50: '#deaff6',
500: '#cd8df2',
950: '#000000',
},
}SCSS
$custom: #cd8df2; $custom-light: #deaff6; $custom-dark: #000000;
JSON
{
"hex": "#cd8df2",
"rgb": {
"r": 205,
"g": 141,
"b": 242
},
"hsl": {
"h": 278.02,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.74417,
"c": 0.15491,
"h": 312.3
},
"luminance": 0.3844
}Semantic roles & 50–950 ramp
primary
#CD8DF2
secondary
#E2F4D7
accent
#DC0A57
background
#FDFAFF
surface
#FBF5FE
border
#D4CFD6
text
#151017
muted
#837F85