#BAB2FE#BAB2FE
#BAB2FE is a light, moderate blue. Relative luminance 0.494; OKLCH L 79.8% C 0.107 H 288.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2FE |
|---|---|
| RGB | rgb(186, 178, 254) |
| HSL | hsl(246, 97%, 85%) |
| HSV | hsv(246, 30%, 100%) |
| CMYK | cmyk(26.8%, 29.9%, 0%, 0.4%) |
| CIE-LAB | lab(75.72, 18.91, -36.55) |
| CIE-LCH | lch(75.72, 41.15, 297.35°) |
| OKLab | oklab(79.79% 0.034 -0.1013) |
| OKLCH | oklch(79.79% 0.107 288.6) |
| XYZ | xyz(54.0550, 49.4346, 100.4406) |
| Luminance | 0.4944 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 5.77
Light Periwinkle
#C1C6FC
ΔE00 5.80
Light Violet
#D6B4FC
ΔE00 6.93
Pastel Purple
#CAA0FF
ΔE00 7.30
Periwinkle
#CCCCFF
ΔE00 7.36
Lilac (survey)
#CEA2FD
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2FE #F6FEB2
analogous
#B2D0FE #BAB2FE #E0B2FE
triadic
#BAB2FE #FEBAB2 #B2FEBA
tetradic
#BAB2FE #FEB2D0 #F6FEB2 #B2FEE0
square
#BAB2FE #FEB2D0 #F6FEB2 #B2FEE0
split-complementary
#BAB2FE #FEE0B2 #D0FEB2
monochromatic
#4E39FC #8476FD #BAB2FE #E4E1FF #E4E1FF
Accessibility & contrast
On white
1.93
#BAB2FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.89
#BAB2FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2FE
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2FE | 1.00 | 1.93 | 10.89 | 10.89 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9EBCFF
Deuteranopia (green-blind)
#9DB9FC
Tritanopia (blue-blind)
#ABBFCD
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bab2fe; /* rgb */ color: rgb(186, 178, 254); /* oklch */ color: oklch(79.8% 0.107 288.6);
Tailwind
colors: {
custom: {
50: '#d0c9ff',
500: '#bab2fe',
950: '#000000',
},
}SCSS
$custom: #bab2fe; $custom-light: #d0c9ff; $custom-dark: #000000;
JSON
{
"hex": "#bab2fe",
"rgb": {
"r": 186,
"g": 178,
"b": 254
},
"hsl": {
"h": 246.316,
"s": 97.436,
"l": 84.706
},
"oklch": {
"l": 0.79792,
"c": 0.10681,
"h": 288.6
},
"luminance": 0.49436
}Semantic roles & 50–950 ramp
primary
#BAB2FE
secondary
#F3F7D4
accent
#E600CD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286