#BAB7E9#BAB7E9
#BAB7E9 is a light, moderate blue. Relative luminance 0.502; OKLCH L 79.9% C 0.070 H 287.4°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB7E9 |
|---|---|
| RGB | rgb(186, 183, 233) |
| HSL | hsl(244, 53%, 82%) |
| HSV | hsv(244, 21%, 91%) |
| CMYK | cmyk(20.2%, 21.5%, 0%, 8.6%) |
| CIE-LAB | lab(76.18, 11.30, -24.51) |
| CIE-LCH | lch(76.18, 26.99, 294.74°) |
| OKLab | oklab(79.89% 0.0211 -0.0671) |
| OKLCH | oklch(79.89% 0.07 287.4) |
| XYZ | xyz(51.8877, 50.1885, 84.0287) |
| Luminance | 0.5019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 4.46
Periwinkle
#CCCCFF
ΔE00 5.21
Pale Violet
#CEAEFA
ΔE00 7.29
Lavender
#B39DDB
ΔE00 7.62
Light Violet
#D6B4FC
ΔE00 7.63
Light Lavender
#DFC5FE
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB7E9 #E6E9B7
analogous
#B7CDE9 #BAB7E9 #D3B7E9
triadic
#BAB7E9 #E9BAB7 #B7E9BA
tetradic
#BAB7E9 #E9B7CD #E6E9B7 #B7E9D3
square
#BAB7E9 #E9B7CD #E6E9B7 #B7E9D3
split-complementary
#BAB7E9 #E9D3B7 #CDE9B7
monochromatic
#6059CC #8D88DB #BAB7E9 #E7E6F7 #E9E8F8
Accessibility & contrast
On white
1.90
#BAB7E9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.04
#BAB7E9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB7E9
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB7E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB7E9 | 1.00 | 1.90 | 11.04 | 11.04 |
| #FFFFFF | 1.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ABBDEB
Deuteranopia (green-blind)
#AABBE8
Tritanopia (blue-blind)
#B0BFC8
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bab7e9; /* rgb */ color: rgb(186, 183, 233); /* oklch */ color: oklch(79.9% 0.070 287.4);
Tailwind
colors: {
custom: {
50: '#cfccf0',
500: '#bab7e9',
950: '#000000',
},
}SCSS
$custom: #bab7e9; $custom-light: #cfccf0; $custom-dark: #000000;
JSON
{
"hex": "#bab7e9",
"rgb": {
"r": 186,
"g": 183,
"b": 233
},
"hsl": {
"h": 243.6,
"s": 53.191,
"l": 81.569
},
"oklch": {
"l": 0.79893,
"c": 0.07033,
"h": 287.4
},
"luminance": 0.50189
}Semantic roles & 50–950 ramp
primary
#BAB7E9
secondary
#C1C580
accent
#C125B7
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385