#BAB3FF#BAB3FF
#BAB3FF is a light, moderate blue. Relative luminance 0.499; OKLCH L 80.0% C 0.107 H 287.9°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB3FF |
|---|---|
| RGB | rgb(186, 179, 255) |
| HSL | hsl(246, 100%, 85%) |
| HSV | hsv(246, 30%, 100%) |
| CMYK | cmyk(27.1%, 29.8%, 0%, 0%) |
| CIE-LAB | lab(76.01, 18.59, -36.65) |
| CIE-LCH | lch(76.01, 41.09, 296.90°) |
| OKLab | oklab(80.03% 0.0329 -0.1015) |
| OKLCH | oklch(80.03% 0.107 287.9) |
| XYZ | xyz(54.4152, 49.8982, 101.3528) |
| Luminance | 0.4990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.58
Pale Violet
#CEAEFA
ΔE00 6.01
Light Violet
#D6B4FC
ΔE00 7.12
Periwinkle
#CCCCFF
ΔE00 7.20
Pastel Purple
#CAA0FF
ΔE00 7.58
Lilac (survey)
#CEA2FD
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB3FF #F8FFB3
analogous
#B3D2FF #BAB3FF #E0B3FF
triadic
#BAB3FF #FFBAB3 #B3FFBA
tetradic
#BAB3FF #FFB3D2 #F8FFB3 #B3FFE0
square
#BAB3FF #FFB3D2 #F8FFB3 #B3FFE0
split-complementary
#BAB3FF #FFE0B3 #D2FFB3
monochromatic
#4B39FF #8276FF #BAB3FF #E3E0FF #E3E0FF
Accessibility & contrast
On white
1.91
#BAB3FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.98
#BAB3FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB3FF
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB3FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB3FF | 1.00 | 1.91 | 10.98 | 10.98 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#9EBAFD
Tritanopia (blue-blind)
#AAC0CE
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #bab3ff; /* rgb */ color: rgb(186, 179, 255); /* oklch */ color: oklch(80.0% 0.107 287.9);
Tailwind
colors: {
custom: {
50: '#d0c9ff',
500: '#bab3ff',
950: '#000000',
},
}SCSS
$custom: #bab3ff; $custom-light: #d0c9ff; $custom-dark: #000000;
JSON
{
"hex": "#bab3ff",
"rgb": {
"r": 186,
"g": 179,
"b": 255
},
"hsl": {
"h": 245.526,
"s": 100,
"l": 85.098
},
"oklch": {
"l": 0.80025,
"c": 0.10673,
"h": 287.9
},
"luminance": 0.49899
}Semantic roles & 50–950 ramp
primary
#BAB3FF
secondary
#F4F7D4
accent
#E600D0
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286