#BAB2CA#BAB2CA
#BAB2CA is a light, muted violet. Relative luminance 0.465; OKLCH L 77.8% C 0.035 H 300.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2CA |
|---|---|
| RGB | rgb(186, 178, 202) |
| HSL | hsl(260, 18%, 75%) |
| HSV | hsv(260, 12%, 79%) |
| CMYK | cmyk(7.9%, 11.9%, 0%, 20.8%) |
| CIE-LAB | lab(73.90, 7.42, -11.12) |
| CIE-LCH | lch(73.90, 13.36, 303.72°) |
| OKLab | oklab(77.78% 0.0178 -0.0299) |
| OKLCH | oklch(77.78% 0.035 300.8) |
| XYZ | xyz(46.8288, 46.5441, 62.3825) |
| Luminance | 0.4654 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Thistle
#D8BFD8
ΔE00 7.25
Lilac
#C8A2C8
ΔE00 9.81
Dove Gray
#B6B8BD
ΔE00 9.90
Periwinkle
#CCCCFF
ΔE00 10.73
Light Periwinkle
#C1C6FC
ΔE00 11.05
Lavender
#B39DDB
ΔE00 11.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2CA #C2CAB2
analogous
#B2B6CA #BAB2CA #C6B2CA
triadic
#BAB2CA #CABAB2 #B2CABA
tetradic
#BAB2CA #CAB2B6 #C2CAB2 #B2CAC6
square
#BAB2CA #CAB2B6 #C2CAB2 #B2CAC6
split-complementary
#BAB2CA #CAC6B2 #B6CAB2
monochromatic
#796A98 #9A8EB1 #BAB2CA #DAD6E3 #EFEDF3
Accessibility & contrast
On white
2.04
#BAB2CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.31
#BAB2CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2CA
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2CA | 1.00 | 2.04 | 10.31 | 10.31 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEB5CB
Deuteranopia (green-blind)
#AFB6C9
Tritanopia (blue-blind)
#B8B5BA
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #bab2ca; /* rgb */ color: rgb(186, 178, 202); /* oklch */ color: oklch(77.8% 0.035 300.8);
Tailwind
colors: {
custom: {
50: '#cec9da',
500: '#bab2ca',
950: '#000000',
},
}SCSS
$custom: #bab2ca; $custom-light: #cec9da; $custom-dark: #000000;
JSON
{
"hex": "#bab2ca",
"rgb": {
"r": 186,
"g": 178,
"b": 202
},
"hsl": {
"h": 260,
"s": 18.462,
"l": 74.51
},
"oklch": {
"l": 0.77776,
"c": 0.03477,
"h": 300.8
},
"luminance": 0.46544
}Semantic roles & 50–950 ramp
primary
#BAB2CA
secondary
#E7E9E2
accent
#9D4981
background
#FCFCFD
surface
#F9F8FA
border
#D2D1D3
text
#131314
muted
#828283