#CD8CF3#CD8CF3
#CD8CF3 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.158 H 312.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CF3 |
|---|---|
| RGB | rgb(205, 140, 243) |
| HSL | hsl(278, 81%, 75%) |
| HSV | hsv(278, 42%, 95%) |
| CMYK | cmyk(15.6%, 42.4%, 0%, 4.7%) |
| CIE-LAB | lab(68.17, 42.77, -42.21) |
| CIE-LCH | lch(68.17, 60.09, 315.38°) |
| OKLab | oklab(74.3% 0.1057 -0.117) |
| OKLCH | oklch(74.3% 0.158 312.1) |
| XYZ | xyz(50.7298, 38.2073, 89.4790) |
| Luminance | 0.3821 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.99
Baby Purple
#CA9BF7
ΔE00 3.93
Pastel Purple
#CAA0FF
ΔE00 5.39
Lavender (survey)
#C79FEF
ΔE00 5.48
Lilac (survey)
#CEA2FD
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CF3 #B2F38C
analogous
#998CF3 #CD8CF3 #F38CE5
triadic
#CD8CF3 #F3CD8C #8CF3CD
tetradic
#CD8CF3 #F3998C #B2F38C #8CE5F3
square
#CD8CF3 #F3998C #B2F38C #8CE5F3
split-complementary
#CD8CF3 #E5F38C #8CF399
monochromatic
#9D1DE7 #B555ED #CD8CF3 #E5C3F9 #F3E3FC
Accessibility & contrast
On white
2.43
#CD8CF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#CD8CF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CF3
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CF3 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A3F7
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#C99BB4
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #cd8cf3; /* rgb */ color: rgb(205, 140, 243); /* oklch */ color: oklch(74.3% 0.158 312.1);
Tailwind
colors: {
custom: {
50: '#deaff7',
500: '#cd8cf3',
950: '#000000',
},
}SCSS
$custom: #cd8cf3; $custom-light: #deaff7; $custom-dark: #000000;
JSON
{
"hex": "#cd8cf3",
"rgb": {
"r": 205,
"g": 140,
"b": 243
},
"hsl": {
"h": 277.864,
"s": 81.102,
"l": 75.098
},
"oklch": {
"l": 0.74303,
"c": 0.1577,
"h": 312.1
},
"luminance": 0.38206
}Semantic roles & 50–950 ramp
primary
#CD8CF3
secondary
#E2F4D7
accent
#DD0857
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85