#BAB2EF#BAB2EF
#BAB2EF is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.2% C 0.086 H 290.3°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2EF |
|---|---|
| RGB | rgb(186, 178, 239) |
| HSL | hsl(248, 66%, 82%) |
| HSV | hsv(248, 26%, 94%) |
| CMYK | cmyk(22.2%, 25.5%, 0%, 6.3%) |
| CIE-LAB | lab(75.15, 15.40, -29.35) |
| CIE-LCH | lch(75.15, 33.14, 297.69°) |
| OKLab | oklab(79.16% 0.0299 -0.0807) |
| OKLCH | oklch(79.16% 0.086 290.3) |
| XYZ | xyz(51.7464, 48.5112, 88.2820) |
| Luminance | 0.4851 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.45
Pale Violet
#CEAEFA
ΔE00 5.45
Lavender
#B39DDB
ΔE00 6.14
Light Violet
#D6B4FC
ΔE00 6.27
Periwinkle
#CCCCFF
ΔE00 6.47
Lavender (survey)
#C79FEF
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2EF #E7EFB2
analogous
#B2C9EF #BAB2EF #D9B2EF
triadic
#BAB2EF #EFBAB2 #B2EFBA
tetradic
#BAB2EF #EFB2C9 #E7EFB2 #B2EFD9
square
#BAB2EF #EFB2C9 #E7EFB2 #B2EFD9
split-complementary
#BAB2EF #EFD9B2 #C9EFB2
monochromatic
#5F4DDA #8D7FE4 #BAB2EF #E7E5FA #E8E6FA
Accessibility & contrast
On white
1.96
#BAB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.70
#BAB2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2EF
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2EF | 1.00 | 1.96 | 10.70 | 10.70 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#A3B8ED
Tritanopia (blue-blind)
#AFBCC7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bab2ef; /* rgb */ color: rgb(186, 178, 239); /* oklch */ color: oklch(79.2% 0.086 290.3);
Tailwind
colors: {
custom: {
50: '#cfc9f4',
500: '#bab2ef',
950: '#000000',
},
}SCSS
$custom: #bab2ef; $custom-light: #cfc9f4; $custom-dark: #000000;
JSON
{
"hex": "#bab2ef",
"rgb": {
"r": 186,
"g": 178,
"b": 239
},
"hsl": {
"h": 247.869,
"s": 65.591,
"l": 81.765
},
"oklch": {
"l": 0.79159,
"c": 0.08608,
"h": 290.3
},
"luminance": 0.48512
}Semantic roles & 50–950 ramp
primary
#BAB2EF
secondary
#EEF1DA
accent
#CD18B6
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141317
muted
#828285