#BAB5F5#BAB5F5
#BAB5F5 is a light, moderate blue. Relative luminance 0.501; OKLCH L 80.0% C 0.090 H 287.8°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BAB5F5 |
|---|---|
| RGB | rgb(186, 181, 245) |
| HSL | hsl(245, 76%, 84%) |
| HSV | hsv(245, 26%, 96%) |
| CMYK | cmyk(24.1%, 26.1%, 0%, 3.9%) |
| CIE-LAB | lab(76.12, 15.13, -31.09) |
| CIE-LCH | lch(76.12, 34.58, 295.95°) |
| OKLab | oklab(79.98% 0.0275 -0.0857) |
| OKLCH | oklch(79.98% 0.09 287.8) |
| XYZ | xyz(53.2510, 50.0785, 93.2291) |
| Luminance | 0.5008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Periwinkle
#C1C6FC
ΔE00 4.52
Periwinkle
#CCCCFF
ΔE00 5.91
Pale Violet
#CEAEFA
ΔE00 6.04
Light Violet
#D6B4FC
ΔE00 6.84
Lavender
#B39DDB
ΔE00 7.33
Light Lavender
#DFC5FE
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BAB5F5 #F0F5B5
analogous
#B5D0F5 #BAB5F5 #DAB5F5
triadic
#BAB5F5 #F5BAB5 #B5F5BA
tetradic
#BAB5F5 #F5B5D0 #F0F5B5 #B5F5DA
square
#BAB5F5 #F5B5D0 #F0F5B5 #B5F5DA
split-complementary
#BAB5F5 #F5DAB5 #D0F5B5
monochromatic
#5549E6 #887FEE #BAB5F5 #E6E4FB #E6E4FB
Accessibility & contrast
On white
1.91
#BAB5F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.02
#BAB5F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BAB5F5
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BAB5F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BAB5F5 | 1.00 | 1.91 | 11.02 | 11.02 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A5BDF8
Deuteranopia (green-blind)
#A4BAF3
Tritanopia (blue-blind)
#ADC0CB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #bab5f5; /* rgb */ color: rgb(186, 181, 245); /* oklch */ color: oklch(80.0% 0.090 287.8);
Tailwind
colors: {
custom: {
50: '#cfcbf8',
500: '#bab5f5',
950: '#000000',
},
}SCSS
$custom: #bab5f5; $custom-light: #cfcbf8; $custom-dark: #000000;
JSON
{
"hex": "#bab5f5",
"rgb": {
"r": 186,
"g": 181,
"b": 245
},
"hsl": {
"h": 244.688,
"s": 76.19,
"l": 83.529
},
"oklch": {
"l": 0.79984,
"c": 0.08999,
"h": 287.8
},
"luminance": 0.50079
}Semantic roles & 50–950 ramp
primary
#BAB5F5
secondary
#CFD678
accent
#D80DC9
background
#FEFDFF
surface
#FBF9FF
border
#D4D2D7
text
#141317
muted
#838285