#CD8BFC#CD8BFC
#CD8BFC is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.6% C 0.170 H 309.8°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CD8BFC |
|---|---|
| RGB | rgb(205, 139, 252) |
| HSL | hsl(275, 95%, 77%) |
| HSV | hsv(275, 45%, 99%) |
| CMYK | cmyk(18.7%, 44.8%, 0%, 1.2%) |
| CIE-LAB | lab(68.37, 45.22, -46.82) |
| CIE-LCH | lch(68.37, 65.10, 314.00°) |
| OKLab | oklab(74.58% 0.1086 -0.1303) |
| OKLCH | oklch(74.58% 0.17 309.8) |
| XYZ | xyz(51.9769, 38.4734, 96.7646) |
| Luminance | 0.3847 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.02
Baby Purple
#CA9BF7
ΔE00 4.34
Light Purple
#BF77F6
ΔE00 5.26
Pastel Purple
#CAA0FF
ΔE00 5.38
Lilac (survey)
#CEA2FD
ΔE00 5.76
Lavender (survey)
#C79FEF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD8BFC #BAFC8B
analogous
#958BFC #CD8BFC #FC8BF3
triadic
#CD8BFC #FCCD8B #8BFCCD
tetradic
#CD8BFC #FC958B #BAFC8B #8BF3FC
square
#CD8BFC #FC958B #BAFC8B #8BF3FC
split-complementary
#CD8BFC #F3FC8B #8BFC95
monochromatic
#9A14F9 #B34FFA #CD8BFC #E7C7FE #F2E1FE
Accessibility & contrast
On white
2.42
#CD8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#CD8BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD8BFC
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD8BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD8BFC | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#C79DB8
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #cd8bfc; /* rgb */ color: rgb(205, 139, 252); /* oklch */ color: oklch(74.6% 0.170 309.8);
Tailwind
colors: {
custom: {
50: '#deaefe',
500: '#cd8bfc',
950: '#000000',
},
}SCSS
$custom: #cd8bfc; $custom-light: #deaefe; $custom-dark: #000000;
JSON
{
"hex": "#cd8bfc",
"rgb": {
"r": 205,
"g": 139,
"b": 252
},
"hsl": {
"h": 275.044,
"s": 94.958,
"l": 76.667
},
"oklch": {
"l": 0.74582,
"c": 0.16963,
"h": 309.8
},
"luminance": 0.38473
}Semantic roles & 50–950 ramp
primary
#CD8BFC
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86