#BAB9FF#BAB9FF
#BAB9FF is a light, moderate blue. Relative luminance 0.524; OKLCH L 81.2% C 0.098 H 284.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB9FF |
|---|---|
| RGB | rgb(186, 185, 255) |
| HSL | hsl(241, 100%, 86%) |
| HSV | hsv(241, 27%, 100%) |
| CMYK | cmyk(27.1%, 27.5%, 0%, 0%) |
| CIE-LAB | lab(77.49, 15.29, -34.35) |
| CIE-LCH | lch(77.49, 37.60, 294.00°) |
| OKLab | oklab(81.17% 0.0248 -0.095) |
| OKLCH | oklch(81.17% 0.098 284.7) |
| XYZ | xyz(55.6440, 52.3558, 101.7623) |
| Luminance | 0.5236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 3.92
Periwinkle
#CCCCFF
ΔE00 5.81
Pale Violet
#CEAEFA
ΔE00 7.25
Pastel Blue
#A2BFFE
ΔE00 7.42
Light Violet
#D6B4FC
ΔE00 8.01
Lightsteelblue
#B0C4DE
ΔE00 8.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB9FF #FEFFB9
analogous
#B9DBFF #BAB9FF #DDB9FF
triadic
#BAB9FF #FFBAB9 #B9FFBA
tetradic
#BAB9FF #FFB9DB #FEFFB9 #B9FFDD
square
#BAB9FF #FFB9DB #FEFFB9 #B9FFDD
split-complementary
#BAB9FF #FFDDB9 #DBFFB9
monochromatic
#413FFF #7E7CFF #BAB9FF #E1E0FF #E1E0FF
Accessibility & contrast
On white
1.83
#BAB9FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.47
#BAB9FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB9FF
11.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB9FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB9FF | 1.00 | 1.83 | 11.47 | 11.47 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#A4BDFD
Tritanopia (blue-blind)
#AAC5D2
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #bab9ff; /* rgb */ color: rgb(186, 185, 255); /* oklch */ color: oklch(81.2% 0.098 284.7);
Tailwind
colors: {
custom: {
50: '#d0ceff',
500: '#bab9ff',
950: '#000000',
},
}SCSS
$custom: #bab9ff; $custom-light: #d0ceff; $custom-dark: #000000;
JSON
{
"hex": "#bab9ff",
"rgb": {
"r": 186,
"g": 185,
"b": 255
},
"hsl": {
"h": 240.857,
"s": 100,
"l": 86.275
},
"oklch": {
"l": 0.81173,
"c": 0.09817,
"h": 284.7
},
"luminance": 0.52357
}Semantic roles & 50–950 ramp
primary
#BAB9FF
secondary
#E5E775
accent
#E600E2
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141318
muted
#838386