#CBABE3#CBABE3
#CBABE3 is a light, moderate violet. Relative luminance 0.474; OKLCH L 78.8% C 0.085 H 310.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #CBABE3 |
|---|---|
| RGB | rgb(203, 171, 227) |
| HSL | hsl(274, 50%, 78%) |
| HSV | hsv(274, 25%, 89%) |
| CMYK | cmyk(10.6%, 24.7%, 0%, 11%) |
| CIE-LAB | lab(74.43, 21.92, -23.82) |
| CIE-LCH | lch(74.43, 32.37, 312.63°) |
| OKLab | oklab(78.8% 0.0551 -0.0648) |
| OKLCH | oklch(78.8% 0.085 310.3) |
| XYZ | xyz(53.0542, 47.3689, 79.0063) |
| Luminance | 0.4737 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Violet
#D6B4FC
ΔE00 4.51
Pale Violet
#CEAEFA
ΔE00 4.76
Lavender (survey)
#C79FEF
ΔE00 5.42
Mauve
#E0B0FF
ΔE00 5.54
Lavender
#B39DDB
ΔE00 5.58
Plum
#DDA0DD
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBABE3 #C3E3AB
analogous
#AFABE3 #CBABE3 #E3ABDF
triadic
#CBABE3 #E3CBAB #ABE3CB
tetradic
#CBABE3 #E3AFAB #C3E3AB #ABDFE3
square
#CBABE3 #E3AFAB #C3E3AB #ABDFE3
split-complementary
#CBABE3 #DFE3AB #ABE3AF
monochromatic
#924FC4 #AF7DD4 #CBABE3 #E7D9F2 #F1E8F7
Accessibility & contrast
On white
2.01
#CBABE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#CBABE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBABE3
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBABE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBABE3 | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A2B5E5
Deuteranopia (green-blind)
#A9B8E1
Tritanopia (blue-blind)
#C9B2BE
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cbabe3; /* rgb */ color: rgb(203, 171, 227); /* oklch */ color: oklch(78.8% 0.085 310.3);
Tailwind
colors: {
custom: {
50: '#dbc4ec',
500: '#cbabe3',
950: '#000000',
},
}SCSS
$custom: #cbabe3; $custom-light: #dbc4ec; $custom-dark: #000000;
JSON
{
"hex": "#cbabe3",
"rgb": {
"r": 203,
"g": 171,
"b": 227
},
"hsl": {
"h": 274.286,
"s": 50,
"l": 78.039
},
"oklch": {
"l": 0.78803,
"c": 0.08508,
"h": 310.3
},
"luminance": 0.47368
}Semantic roles & 50–950 ramp
primary
#CBABE3
secondary
#E4EEDD
accent
#BD2868
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184