#CB9DFE#CB9DFE
#CB9DFE is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.5% C 0.142 H 305.1°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CB9DFE |
|---|---|
| RGB | rgb(203, 157, 254) |
| HSL | hsl(268, 98%, 81%) |
| HSV | hsv(268, 38%, 100%) |
| CMYK | cmyk(20.1%, 38.2%, 0%, 0.4%) |
| CIE-LAB | lab(72.21, 35.37, -41.91) |
| CIE-LCH | lch(72.21, 54.84, 310.16°) |
| OKLab | oklab(77.46% 0.0818 -0.1163) |
| OKLCH | oklch(77.46% 0.142 305.1) |
| XYZ | xyz(54.5713, 43.9665, 99.3582) |
| Luminance | 0.4397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pastel Purple
#CAA0FF
ΔE00 0.87
Baby Purple
#CA9BF7
ΔE00 1.21
Lilac (survey)
#CEA2FD
ΔE00 1.45
Lavender (survey)
#C79FEF
ΔE00 2.90
Liliac
#C48EFD
ΔE00 3.87
Pale Violet
#CEAEFA
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB9DFE #D0FE9D
analogous
#9D9FFE #CB9DFE #FC9DFE
triadic
#CB9DFE #FECB9D #9DFECB
tetradic
#CB9DFE #FE9D9F #D0FE9D #9DFEFC
square
#CB9DFE #FE9D9F #D0FE9D #9DFEFC
split-complementary
#CB9DFE #FEFC9D #9FFE9D
monochromatic
#8B24FD #AB60FD #CB9DFE #EBDAFF #EFE1FF
Accessibility & contrast
On white
2.14
#CB9DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.79
#CB9DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB9DFE
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB9DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB9DFE | 1.00 | 2.14 | 9.79 | 9.79 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87B0FF
Deuteranopia (green-blind)
#91B1FB
Tritanopia (blue-blind)
#C3ACC2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cb9dfe; /* rgb */ color: rgb(203, 157, 254); /* oklch */ color: oklch(77.5% 0.142 305.1);
Tailwind
colors: {
custom: {
50: '#dcbaff',
500: '#cb9dfe',
950: '#000000',
},
}SCSS
$custom: #cb9dfe; $custom-light: #dcbaff; $custom-dark: #000000;
JSON
{
"hex": "#cb9dfe",
"rgb": {
"r": 203,
"g": 157,
"b": 254
},
"hsl": {
"h": 268.454,
"s": 97.98,
"l": 80.588
},
"oklch": {
"l": 0.77455,
"c": 0.14217,
"h": 305.1
},
"luminance": 0.43966
}Semantic roles & 50–950 ramp
primary
#CB9DFE
secondary
#E6F7D4
accent
#E60079
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086