#BAB2FF#BAB2FF
#BAB2FF is a light, moderate blue. Relative luminance 0.495; OKLCH L 79.8% C 0.108 H 288.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2FF |
|---|---|
| RGB | rgb(186, 178, 255) |
| HSL | hsl(246, 100%, 85%) |
| HSV | hsv(246, 30%, 100%) |
| CMYK | cmyk(27.1%, 30.2%, 0%, 0%) |
| CIE-LAB | lab(75.76, 19.15, -37.03) |
| CIE-LCH | lch(75.76, 41.69, 297.34°) |
| OKLab | oklab(79.84% 0.0342 -0.1026) |
| OKLCH | oklch(79.84% 0.108 288.5) |
| XYZ | xyz(54.2155, 49.4988, 101.2862) |
| Luminance | 0.4950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Pale Violet
#CEAEFA
ΔE00 5.84
Light Periwinkle
#C1C6FC
ΔE00 5.87
Light Violet
#D6B4FC
ΔE00 7.02
Pastel Purple
#CAA0FF
ΔE00 7.30
Periwinkle
#CCCCFF
ΔE00 7.45
Lilac (survey)
#CEA2FD
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2FF #F7FFB2
analogous
#B2D0FF #BAB2FF #E1B2FF
triadic
#BAB2FF #FFBAB2 #B2FFBA
tetradic
#BAB2FF #FFB2D0 #F7FFB2 #B2FFE1
square
#BAB2FF #FFB2D0 #F7FFB2 #B2FFE1
split-complementary
#BAB2FF #FFE1B2 #D0FFB2
monochromatic
#4C38FF #8375FF #BAB2FF #E4E0FF #E4E0FF
Accessibility & contrast
On white
1.93
#BAB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.90
#BAB2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2FF
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2FF | 1.00 | 1.93 | 10.90 | 10.90 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#AABFCE
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bab2ff; /* rgb */ color: rgb(186, 178, 255); /* oklch */ color: oklch(79.8% 0.108 288.5);
Tailwind
colors: {
custom: {
50: '#d0c9ff',
500: '#bab2ff',
950: '#000000',
},
}SCSS
$custom: #bab2ff; $custom-light: #d0c9ff; $custom-dark: #000000;
JSON
{
"hex": "#bab2ff",
"rgb": {
"r": 186,
"g": 178,
"b": 255
},
"hsl": {
"h": 246.234,
"s": 100,
"l": 84.902
},
"oklch": {
"l": 0.79836,
"c": 0.10819,
"h": 288.5
},
"luminance": 0.495
}Semantic roles & 50–950 ramp
primary
#BAB2FF
secondary
#F4F7D4
accent
#E600CE
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286