#CD8EF3#CD8EF3
#CD8EF3 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.6% C 0.154 H 311.8°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8EF3 |
|---|---|
| RGB | rgb(205, 142, 243) |
| HSL | hsl(277, 81%, 75%) |
| HSV | hsv(277, 42%, 95%) |
| CMYK | cmyk(15.6%, 41.6%, 0%, 4.7%) |
| CIE-LAB | lab(68.60, 41.69, -41.53) |
| CIE-LCH | lch(68.60, 58.85, 315.11°) |
| OKLab | oklab(74.63% 0.1029 -0.1151) |
| OKLCH | oklch(74.63% 0.154 311.8) |
| XYZ | xyz(51.0247, 38.7971, 89.5773) |
| Luminance | 0.3880 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.99
Baby Purple
#CA9BF7
ΔE00 3.47
Pastel Purple
#CAA0FF
ΔE00 4.97
Lavender (survey)
#C79FEF
ΔE00 5.01
Lilac (survey)
#CEA2FD
ΔE00 5.05
Pale Purple
#B790D4
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8EF3 #B4F38E
analogous
#9A8EF3 #CD8EF3 #F38EE6
triadic
#CD8EF3 #F3CD8E #8EF3CD
tetradic
#CD8EF3 #F39A8E #B4F38E #8EE6F3
square
#CD8EF3 #F39A8E #B4F38E #8EE6F3
split-complementary
#CD8EF3 #E6F38E #8EF39A
monochromatic
#9C1FE7 #B557ED #CD8EF3 #E5C5F9 #F3E3FC
Accessibility & contrast
On white
2.40
#CD8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#CD8EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8EF3
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8EF3 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7AA4F7
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#C99DB5
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd8ef3; /* rgb */ color: rgb(205, 142, 243); /* oklch */ color: oklch(74.6% 0.154 311.8);
Tailwind
colors: {
custom: {
50: '#deb0f7',
500: '#cd8ef3',
950: '#000000',
},
}SCSS
$custom: #cd8ef3; $custom-light: #deb0f7; $custom-dark: #000000;
JSON
{
"hex": "#cd8ef3",
"rgb": {
"r": 205,
"g": 142,
"b": 243
},
"hsl": {
"h": 277.426,
"s": 80.8,
"l": 75.49
},
"oklch": {
"l": 0.74626,
"c": 0.1544,
"h": 311.8
},
"luminance": 0.38796
}Semantic roles & 50–950 ramp
primary
#CD8EF3
secondary
#E2F4D7
accent
#DD0858
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85