#CD8CF9#CD8CF9
#CD8CF9 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.165 H 310.4°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CF9 |
|---|---|
| RGB | rgb(205, 140, 249) |
| HSL | hsl(276, 90%, 76%) |
| HSV | hsv(276, 44%, 98%) |
| CMYK | cmyk(17.7%, 43.8%, 0%, 2.4%) |
| CIE-LAB | lab(68.44, 44.04, -45.07) |
| CIE-LCH | lch(68.44, 63.02, 314.34°) |
| OKLab | oklab(74.59% 0.1067 -0.1253) |
| OKLCH | oklch(74.59% 0.165 310.4) |
| XYZ | xyz(51.6507, 38.5757, 94.3291) |
| Luminance | 0.3857 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.22
Baby Purple
#CA9BF7
ΔE00 3.99
Pastel Purple
#CAA0FF
ΔE00 5.18
Lilac (survey)
#CEA2FD
ΔE00 5.47
Light Purple
#BF77F6
ΔE00 5.56
Lavender (survey)
#C79FEF
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CF9 #B8F98C
analogous
#978CF9 #CD8CF9 #F98CEF
triadic
#CD8CF9 #F9CD8C #8CF9CD
tetradic
#CD8CF9 #F9978C #B8F98C #8CEFF9
square
#CD8CF9 #F9978C #B8F98C #8CEFF9
split-complementary
#CD8CF9 #EFF98C #8CF997
monochromatic
#9A18F3 #B452F6 #CD8CF9 #E6C6FC #F2E2FD
Accessibility & contrast
On white
2.41
#CD8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#CD8CF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CF9
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CF9 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C89DB7
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd8cf9; /* rgb */ color: rgb(205, 140, 249); /* oklch */ color: oklch(74.6% 0.165 310.4);
Tailwind
colors: {
custom: {
50: '#deaffb',
500: '#cd8cf9',
950: '#000000',
},
}SCSS
$custom: #cd8cf9; $custom-light: #deaffb; $custom-dark: #000000;
JSON
{
"hex": "#cd8cf9",
"rgb": {
"r": 205,
"g": 140,
"b": 249
},
"hsl": {
"h": 275.78,
"s": 90.083,
"l": 76.275
},
"oklch": {
"l": 0.74593,
"c": 0.16457,
"h": 310.4
},
"luminance": 0.38575
}Semantic roles & 50–950 ramp
primary
#CD8CF9
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85