#CB9EF3#CB9EF3
#CB9EF3 is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.1% C 0.127 H 307.9°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CB9EF3 |
|---|---|
| RGB | rgb(203, 158, 243) |
| HSL | hsl(272, 78%, 79%) |
| HSV | hsv(272, 35%, 95%) |
| CMYK | cmyk(16.5%, 35%, 0%, 4.7%) |
| CIE-LAB | lab(71.97, 32.42, -36.30) |
| CIE-LCH | lch(71.97, 48.67, 311.77°) |
| OKLab | oklab(77.13% 0.0781 -0.1002) |
| OKLCH | oklch(77.13% 0.127 307.9) |
| XYZ | xyz(53.0301, 43.6218, 90.4028) |
| Luminance | 0.4362 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 1.07
Baby Purple
#CA9BF7
ΔE00 1.31
Lilac (survey)
#CEA2FD
ΔE00 1.73
Pastel Purple
#CAA0FF
ΔE00 2.36
Pale Violet
#CEAEFA
ΔE00 4.15
Mauve
#E0B0FF
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB9EF3 #C6F39E
analogous
#A09EF3 #CB9EF3 #F39EF0
triadic
#CB9EF3 #F3CB9E #9EF3CB
tetradic
#CB9EF3 #F3A09E #C6F39E #9EF0F3
square
#CB9EF3 #F3A09E #C6F39E #9EF0F3
split-complementary
#CB9EF3 #F0F39E #9EF3A0
monochromatic
#9131E6 #AE68EC #CB9EF3 #E8D4FA #F0E4FC
Accessibility & contrast
On white
2.16
#CB9EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.72
#CB9EF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB9EF3
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB9EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB9EF3 | 1.00 | 2.16 | 9.72 | 9.72 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DAFF6
Deuteranopia (green-blind)
#97B1F1
Tritanopia (blue-blind)
#C6AABD
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cb9ef3; /* rgb */ color: rgb(203, 158, 243); /* oklch */ color: oklch(77.1% 0.127 307.9);
Tailwind
colors: {
custom: {
50: '#dcbbf7',
500: '#cb9ef3',
950: '#000000',
},
}SCSS
$custom: #cb9ef3; $custom-light: #dcbbf7; $custom-dark: #000000;
JSON
{
"hex": "#cb9ef3",
"rgb": {
"r": 203,
"g": 158,
"b": 243
},
"hsl": {
"h": 271.765,
"s": 77.982,
"l": 78.627
},
"oklch": {
"l": 0.77129,
"c": 0.12698,
"h": 307.9
},
"luminance": 0.43621
}Semantic roles & 50–950 ramp
primary
#CB9EF3
secondary
#E5F3D8
accent
#DA0B6D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185