#BAB5E8#BAB5E8
#BAB5E8 is a light, moderate blue. Relative luminance 0.493; OKLCH L 79.5% C 0.072 H 289.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB5E8 |
|---|---|
| RGB | rgb(186, 181, 232) |
| HSL | hsl(246, 53%, 81%) |
| HSV | hsv(246, 22%, 91%) |
| CMYK | cmyk(19.8%, 22%, 0%, 9%) |
| CIE-LAB | lab(75.65, 12.17, -24.79) |
| CIE-LCH | lch(75.65, 27.62, 296.14°) |
| OKLab | oklab(79.46% 0.0236 -0.0679) |
| OKLCH | oklch(79.46% 0.072 289.1) |
| XYZ | xyz(51.3357, 49.3124, 83.1419) |
| Luminance | 0.4931 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.04
Periwinkle
#CCCCFF
ΔE00 5.71
Pale Violet
#CEAEFA
ΔE00 6.83
Lavender
#B39DDB
ΔE00 6.97
Light Violet
#D6B4FC
ΔE00 7.22
Light Lavender
#DFC5FE
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB5E8 #E3E8B5
analogous
#B5C9E8 #BAB5E8 #D3B5E8
triadic
#BAB5E8 #E8BAB5 #B5E8BA
tetradic
#BAB5E8 #E8B5C9 #E3E8B5 #B5E8D3
square
#BAB5E8 #E8B5C9 #E3E8B5 #B5E8D3
split-complementary
#BAB5E8 #E8D3B5 #C9E8B5
monochromatic
#6358CB #8E86D9 #BAB5E8 #E6E4F7 #E9E8F8
Accessibility & contrast
On white
1.93
#BAB5E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#BAB5E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB5E8
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB5E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB5E8 | 1.00 | 1.93 | 10.86 | 10.86 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9BBEA
Deuteranopia (green-blind)
#A8B9E7
Tritanopia (blue-blind)
#B0BDC6
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #bab5e8; /* rgb */ color: rgb(186, 181, 232); /* oklch */ color: oklch(79.5% 0.072 289.1);
Tailwind
colors: {
custom: {
50: '#cfcbef',
500: '#bab5e8',
950: '#000000',
},
}SCSS
$custom: #bab5e8; $custom-light: #cfcbef; $custom-dark: #000000;
JSON
{
"hex": "#bab5e8",
"rgb": {
"r": 186,
"g": 181,
"b": 232
},
"hsl": {
"h": 245.882,
"s": 52.577,
"l": 80.98
},
"oklch": {
"l": 0.79462,
"c": 0.07185,
"h": 289.1
},
"luminance": 0.49313
}Semantic roles & 50–950 ramp
primary
#BAB5E8
secondary
#EDEFDC
accent
#C026B1
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284