#BABAFF#BABAFF
#BABAFF is a light, moderate blue. Relative luminance 0.528; OKLCH L 81.4% C 0.097 H 284.0°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #BABAFF |
|---|---|
| RGB | rgb(186, 186, 255) |
| HSL | hsl(240, 100%, 86%) |
| HSV | hsv(240, 27%, 100%) |
| CMYK | cmyk(27.1%, 27.1%, 0%, 0%) |
| CIE-LAB | lab(77.74, 14.74, -33.96) |
| CIE-LCH | lch(77.74, 37.02, 293.46°) |
| OKLab | oklab(81.37% 0.0235 -0.0939) |
| OKLCH | oklch(81.37% 0.097 284) |
| XYZ | xyz(55.8540, 52.7756, 101.8323) |
| Luminance | 0.5278 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 3.65
Periwinkle
#CCCCFF
ΔE00 5.60
Pastel Blue
#A2BFFE
ΔE00 7.23
Pale Violet
#CEAEFA
ΔE00 7.49
Light Violet
#D6B4FC
ΔE00 8.20
Lightsteelblue
#B0C4DE
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BABAFF #FFFFBA
analogous
#BADDFF #BABAFF #DDBAFF
triadic
#BABAFF #FFBABA #BAFFBA
tetradic
#BABAFF #FFBADD #FFFFBA #BAFFDD
square
#BABAFF #FFBADD #FFFFBA #BAFFDD
split-complementary
#BABAFF #FFDDBA #DDFFBA
monochromatic
#4040FF #7D7DFF #BABAFF #E0E0FF #E0E0FF
Accessibility & contrast
On white
1.82
#BABAFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#BABAFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BABAFF
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BABAFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BABAFF | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7C2FF
Deuteranopia (green-blind)
#A5BEFD
Tritanopia (blue-blind)
#AAC6D2
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #babaff; /* rgb */ color: rgb(186, 186, 255); /* oklch */ color: oklch(81.4% 0.097 284.0);
Tailwind
colors: {
custom: {
50: '#d0ceff',
500: '#babaff',
950: '#000000',
},
}SCSS
$custom: #babaff; $custom-light: #d0ceff; $custom-dark: #000000;
JSON
{
"hex": "#babaff",
"rgb": {
"r": 186,
"g": 186,
"b": 255
},
"hsl": {
"h": 240,
"s": 100,
"l": 86.471
},
"oklch": {
"l": 0.81366,
"c": 0.09678,
"h": 284
},
"luminance": 0.52777
}Semantic roles & 50–950 ramp
primary
#BABAFF
secondary
#E7E776
accent
#E600E5
background
#FEFEFF
surface
#FBFBFF
border
#D4D4D7
text
#141318
muted
#838386