#BAB2EE#BAB2EE
#BAB2EE is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.1% C 0.085 H 290.4°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB2EE |
|---|---|
| RGB | rgb(186, 178, 238) |
| HSL | hsl(248, 64%, 82%) |
| HSV | hsv(248, 25%, 93%) |
| CMYK | cmyk(21.8%, 25.2%, 0%, 6.7%) |
| CIE-LAB | lab(75.11, 15.17, -28.86) |
| CIE-LCH | lch(75.11, 32.61, 297.73°) |
| OKLab | oklab(79.12% 0.0296 -0.0794) |
| OKLCH | oklch(79.12% 0.085 290.4) |
| XYZ | xyz(51.5991, 48.4523, 87.5061) |
| Luminance | 0.4845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 5.48
Pale Violet
#CEAEFA
ΔE00 5.50
Lavender
#B39DDB
ΔE00 6.09
Light Violet
#D6B4FC
ΔE00 6.29
Periwinkle
#CCCCFF
ΔE00 6.45
Lavender (survey)
#C79FEF
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB2EE #E6EEB2
analogous
#B2C8EE #BAB2EE #D8B2EE
triadic
#BAB2EE #EEBAB2 #B2EEBA
tetradic
#BAB2EE #EEB2C8 #E6EEB2 #B2EED8
square
#BAB2EE #EEB2C8 #E6EEB2 #B2EED8
split-complementary
#BAB2EE #EED8B2 #C8EEB2
monochromatic
#604ED8 #8D80E3 #BAB2EE #E7E4F9 #E9E6F9
Accessibility & contrast
On white
1.96
#BAB2EE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.69
#BAB2EE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB2EE
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB2EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB2EE | 1.00 | 1.96 | 10.69 | 10.69 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3BAF1
Deuteranopia (green-blind)
#A3B8EC
Tritanopia (blue-blind)
#AFBCC7
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #bab2ee; /* rgb */ color: rgb(186, 178, 238); /* oklch */ color: oklch(79.1% 0.085 290.4);
Tailwind
colors: {
custom: {
50: '#cfc9f3',
500: '#bab2ee',
950: '#000000',
},
}SCSS
$custom: #bab2ee; $custom-light: #cfc9f3; $custom-dark: #000000;
JSON
{
"hex": "#bab2ee",
"rgb": {
"r": 186,
"g": 178,
"b": 238
},
"hsl": {
"h": 248,
"s": 63.83,
"l": 81.569
},
"oklch": {
"l": 0.79118,
"c": 0.08469,
"h": 290.4
},
"luminance": 0.48453
}Semantic roles & 50–950 ramp
primary
#BAB2EE
secondary
#EEF1DA
accent
#CC1AB4
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141317
muted
#828285