#CB9BCB#CB9BCB
#CB9BCB is a light, moderate purple. Relative luminance 0.405; OKLCH L 75.0% C 0.086 H 326.4°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CB9BCB |
|---|---|
| RGB | rgb(203, 155, 203) |
| HSL | hsl(300, 32%, 70%) |
| HSV | hsv(300, 24%, 80%) |
| CMYK | cmyk(0%, 23.6%, 0%, 20.4%) |
| CIE-LAB | lab(69.79, 25.96, -17.69) |
| CIE-LCH | lch(69.79, 31.41, 325.73°) |
| OKLab | oklab(74.97% 0.0717 -0.0476) |
| OKLCH | oklch(74.97% 0.086 326.4) |
| XYZ | xyz(47.1283, 40.4523, 61.8138) |
| Luminance | 0.4045 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lilac
#C8A2C8
ΔE00 3.09
Plum
#DDA0DD
ΔE00 4.09
Pale Purple
#B790D4
ΔE00 7.06
Lavender Pink
#DD85D7
ΔE00 7.95
Lavender
#B39DDB
ΔE00 8.37
Dusty Lavender
#AC86A8
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB9BCB #9BCB9B
analogous
#B39BCB #CB9BCB #CB9BB3
triadic
#CB9BCB #CBCB9B #9BCBCB
tetradic
#CB9BCB #CBB39B #9BCB9B #9BB3CB
square
#CB9BCB #CBB39B #9BCB9B #9BB3CB
split-complementary
#CB9BCB #B3CB9B #9BCBB3
monochromatic
#9B519B #B673B6 #CB9BCB #E0C3E0 #F5EBF5
Accessibility & contrast
On white
2.31
#CB9BCB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#CB9BCB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CB9BCB
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB9BCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB9BCB | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#98A7CD
Deuteranopia (green-blind)
#A3ADC9
Tritanopia (blue-blind)
#CE9FAC
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #cb9bcb; /* rgb */ color: rgb(203, 155, 203); /* oklch */ color: oklch(75.0% 0.086 326.4);
Tailwind
colors: {
custom: {
50: '#dbb9db',
500: '#cb9bcb',
950: '#000000',
},
}SCSS
$custom: #cb9bcb; $custom-light: #dbb9db; $custom-dark: #000000;
JSON
{
"hex": "#cb9bcb",
"rgb": {
"r": 203,
"g": 155,
"b": 203
},
"hsl": {
"h": 300,
"s": 31.579,
"l": 70.196
},
"oklch": {
"l": 0.74971,
"c": 0.08605,
"h": 326.4
},
"luminance": 0.40451
}Semantic roles & 50–950 ramp
primary
#CB9BCB
secondary
#DAE8DA
accent
#AA3B3B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083