#BAB2EA#BAB2EA
#BAB2EA is a light, moderate blue. Relative luminance 0.482; OKLCH L 79.0% C 0.079 H 291.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2EA |
|---|---|
| RGB | rgb(186, 178, 234) |
| HSL | hsl(249, 57%, 81%) |
| HSV | hsv(249, 24%, 92%) |
| CMYK | cmyk(20.5%, 23.9%, 0%, 8.2%) |
| CIE-LAB | lab(74.96, 14.26, -26.92) |
| CIE-LCH | lch(74.96, 30.47, 297.92°) |
| OKLab | oklab(78.96% 0.0284 -0.0739) |
| OKLCH | oklch(78.96% 0.079 291) |
| XYZ | xyz(51.0179, 48.2198, 84.4454) |
| Luminance | 0.4822 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.67
Pale Violet
#CEAEFA
ΔE00 5.81
Lavender
#B39DDB
ΔE00 5.97
Light Violet
#D6B4FC
ΔE00 6.43
Periwinkle
#CCCCFF
ΔE00 6.44
Light Lavender
#DFC5FE
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2EA #E2EAB2
analogous
#B2C6EA #BAB2EA #D6B2EA
triadic
#BAB2EA #EABAB2 #B2EABA
tetradic
#BAB2EA #EAB2C6 #E2EAB2 #B2EAD6
square
#BAB2EA #EAB2C6 #E2EAB2 #B2EAD6
split-complementary
#BAB2EA #EAD6B2 #C6EAB2
monochromatic
#6452D0 #8F82DD #BAB2EA #E5E2F7 #E9E7F8
Accessibility & contrast
On white
1.97
#BAB2EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.64
#BAB2EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2EA
10.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2EA | 1.00 | 1.97 | 10.64 | 10.64 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5B9EC
Deuteranopia (green-blind)
#A5B7E8
Tritanopia (blue-blind)
#B0BBC5
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #bab2ea; /* rgb */ color: rgb(186, 178, 234); /* oklch */ color: oklch(79.0% 0.079 291.0);
Tailwind
colors: {
custom: {
50: '#cfc9f1',
500: '#bab2ea',
950: '#000000',
},
}SCSS
$custom: #bab2ea; $custom-light: #cfc9f1; $custom-dark: #000000;
JSON
{
"hex": "#bab2ea",
"rgb": {
"r": 186,
"g": 178,
"b": 234
},
"hsl": {
"h": 248.571,
"s": 57.143,
"l": 80.784
},
"oklch": {
"l": 0.78957,
"c": 0.07912,
"h": 291
},
"luminance": 0.4822
}Semantic roles & 50–950 ramp
primary
#BAB2EA
secondary
#EDF0DB
accent
#C521AD
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284