#CD8CF1#CD8CF1
#CD8CF1 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.2% C 0.155 H 312.7°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8CF1 |
|---|---|
| RGB | rgb(205, 140, 241) |
| HSL | hsl(279, 78%, 75%) |
| HSV | hsv(279, 42%, 95%) |
| CMYK | cmyk(14.9%, 41.9%, 0%, 5.5%) |
| CIE-LAB | lab(68.08, 42.34, -41.25) |
| CIE-LCH | lch(68.08, 59.12, 315.75°) |
| OKLab | oklab(74.21% 0.1054 -0.1142) |
| OKLCH | oklch(74.21% 0.155 312.7) |
| XYZ | xyz(50.4294, 38.0872, 87.8970) |
| Luminance | 0.3809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.30
Baby Purple
#CA9BF7
ΔE00 3.98
Lavender (survey)
#C79FEF
ΔE00 5.42
Pastel Purple
#CAA0FF
ΔE00 5.51
Lilac (survey)
#CEA2FD
ΔE00 5.58
Light Purple
#BF77F6
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8CF1 #B0F18C
analogous
#9B8CF1 #CD8CF1 #F18CE3
triadic
#CD8CF1 #F1CD8C #8CF1CD
tetradic
#CD8CF1 #F19B8C #B0F18C #8CE3F1
square
#CD8CF1 #F19B8C #B0F18C #8CE3F1
split-complementary
#CD8CF1 #E3F18C #8CF19B
monochromatic
#9E1FE4 #B555EA #CD8CF1 #E5C3F8 #F3E4FC
Accessibility & contrast
On white
2.44
#CD8CF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#CD8CF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8CF1
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8CF1 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#78A2F5
Deuteranopia (green-blind)
#89A8EE
Tritanopia (blue-blind)
#CA9BB3
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #cd8cf1; /* rgb */ color: rgb(205, 140, 241); /* oklch */ color: oklch(74.2% 0.155 312.7);
Tailwind
colors: {
custom: {
50: '#deaff6',
500: '#cd8cf1',
950: '#000000',
},
}SCSS
$custom: #cd8cf1; $custom-light: #deaff6; $custom-dark: #000000;
JSON
{
"hex": "#cd8cf1",
"rgb": {
"r": 205,
"g": 140,
"b": 241
},
"hsl": {
"h": 278.614,
"s": 78.295,
"l": 74.706
},
"oklch": {
"l": 0.74207,
"c": 0.15543,
"h": 312.7
},
"luminance": 0.38086
}Semantic roles & 50–950 ramp
primary
#CD8CF1
secondary
#E1F3D8
accent
#DB0B55
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85