#CB99EC#CB99EC
#CB99EC is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.127 H 311.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CB99EC |
|---|---|
| RGB | rgb(203, 153, 236) |
| HSL | hsl(276, 69%, 76%) |
| HSV | hsv(276, 35%, 93%) |
| CMYK | cmyk(14%, 35.2%, 0%, 7.5%) |
| CIE-LAB | lab(70.55, 33.66, -34.69) |
| CIE-LCH | lch(70.55, 48.33, 314.14°) |
| OKLab | oklab(75.95% 0.0836 -0.0955) |
| OKLCH | oklch(75.95% 0.127 311.2) |
| XYZ | xyz(51.1575, 41.5358, 84.6629) |
| Luminance | 0.4153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender (survey)
#C79FEF
ΔE00 2.10
Baby Purple
#CA9BF7
ΔE00 2.22
Lilac (survey)
#CEA2FD
ΔE00 3.32
Pastel Purple
#CAA0FF
ΔE00 3.83
Pale Purple
#B790D4
ΔE00 4.81
Liliac
#C48EFD
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB99EC #BAEC99
analogous
#A299EC #CB99EC #EC99E3
triadic
#CB99EC #ECCB99 #99ECCB
tetradic
#CB99EC #ECA299 #BAEC99 #99E3EC
square
#CB99EC #ECA299 #BAEC99 #99E3EC
split-complementary
#CB99EC #E3EC99 #99ECA2
monochromatic
#9632D9 #B165E2 #CB99EC #E5CDF6 #F2E5FA
Accessibility & contrast
On white
2.26
#CB99EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#CB99EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB99EC
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB99EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB99EC | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#95AEEA
Tritanopia (blue-blind)
#C8A4B8
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #cb99ec; /* rgb */ color: rgb(203, 153, 236); /* oklch */ color: oklch(76.0% 0.127 311.2);
Tailwind
colors: {
custom: {
50: '#dcb7f2',
500: '#cb99ec',
950: '#000000',
},
}SCSS
$custom: #cb99ec; $custom-light: #dcb7f2; $custom-dark: #000000;
JSON
{
"hex": "#cb99ec",
"rgb": {
"r": 203,
"g": 153,
"b": 236
},
"hsl": {
"h": 276.145,
"s": 68.595,
"l": 76.275
},
"oklch": {
"l": 0.75953,
"c": 0.12694,
"h": 311.2
},
"luminance": 0.41535
}Semantic roles & 50–950 ramp
primary
#CB99EC
secondary
#E3F2D9
accent
#D11560
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085