#CD8CF6#CD8CF6
#CD8CF6 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.4% C 0.161 H 311.2°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CF6 |
|---|---|
| RGB | rgb(205, 140, 246) |
| HSL | hsl(277, 85%, 76%) |
| HSV | hsv(277, 43%, 96%) |
| CMYK | cmyk(16.7%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(68.31, 43.40, -43.64) |
| CIE-LCH | lch(68.31, 61.55, 314.84°) |
| OKLab | oklab(74.45% 0.1062 -0.1211) |
| OKLCH | oklch(74.45% 0.161 311.2) |
| XYZ | xyz(51.1865, 38.3900, 91.8844) |
| Luminance | 0.3839 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.58
Baby Purple
#CA9BF7
ΔE00 3.93
Pastel Purple
#CAA0FF
ΔE00 5.26
Lilac (survey)
#CEA2FD
ΔE00 5.47
Lavender (survey)
#C79FEF
ΔE00 5.62
Light Purple
#BF77F6
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CF6 #B5F68C
analogous
#988CF6 #CD8CF6 #F68CEA
triadic
#CD8CF6 #F6CD8C #8CF6CD
tetradic
#CD8CF6 #F6988C #B5F68C #8CEAF6
square
#CD8CF6 #F6988C #B5F68C #8CEAF6
split-complementary
#CD8CF6 #EAF68C #8CF698
monochromatic
#9C1AED #B453F2 #CD8CF6 #E6C5FA #F3E3FD
Accessibility & contrast
On white
2.42
#CD8CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.68
#CD8CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CF6
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CF6 | 1.00 | 2.42 | 8.68 | 8.68 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A3FA
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#C99CB5
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd8cf6; /* rgb */ color: rgb(205, 140, 246); /* oklch */ color: oklch(74.4% 0.161 311.2);
Tailwind
colors: {
custom: {
50: '#deaff9',
500: '#cd8cf6',
950: '#000000',
},
}SCSS
$custom: #cd8cf6; $custom-light: #deaff9; $custom-dark: #000000;
JSON
{
"hex": "#cd8cf6",
"rgb": {
"r": 205,
"g": 140,
"b": 246
},
"hsl": {
"h": 276.792,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.74447,
"c": 0.16113,
"h": 311.2
},
"luminance": 0.38389
}Semantic roles & 50–950 ramp
primary
#CD8CF6
secondary
#E2F5D6
accent
#E2045A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85