#BAB9EA#BAB9EA

#BAB9EA is a light, moderate blue. Relative luminance 0.511; OKLCH L 80.3% C 0.069 H 285.7°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#BAB9EA
RGBrgb(186, 185, 234)
HSLhsl(241, 54%, 82%)
HSVhsv(241, 21%, 92%)
CMYKcmyk(20.5%, 20.9%, 0%, 8.2%)
CIE-LABlab(76.73, 10.43, -24.23)
CIE-LCHlch(76.73, 26.38, 293.29°)
OKLaboklab(80.32% 0.0186 -0.0663)
OKLCHoklch(80.32% 0.069 285.7)
XYZxyz(52.4464, 51.0767, 84.9216)
Luminance0.5108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB9EA #E9EAB9
analogous
#B9D1EA #BAB9EA #D2B9EA
triadic
#BAB9EA #EABAB9 #B9EABA
tetradic
#BAB9EA #EAB9D1 #E9EAB9 #B9EAD2
square
#BAB9EA #EAB9D1 #E9EAB9 #B9EAD2
split-complementary
#BAB9EA #EAD2B9 #D1EAB9
monochromatic
#5D5BCE #8C8ADC #BAB9EA #E8E7F8 #E8E7F8

Accessibility & contrast

On white

1.87
#BAB9EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#BAB9EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB9EA
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB9EA#FFFFFF#000000##000000
##BAB9EA1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ADBFEC
Deuteranopia (green-blind)
#ACBCE9
Tritanopia (blue-blind)
#B0C1CA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bab9ea;
/* rgb */ color: rgb(186, 185, 234);
/* oklch */ color: oklch(80.3% 0.069 285.7);
Tailwind
colors: {
  custom: {
    50: '#cfcef0',
    500: '#bab9ea',
    950: '#000000',
  },
}
SCSS
$custom: #bab9ea;
$custom-light: #cfcef0;
$custom-dark: #000000;
JSON
{
  "hex": "#bab9ea",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 234
  },
  "hsl": {
    "h": 241.224,
    "s": 53.846,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80324,
    "c": 0.06887,
    "h": 285.7
  },
  "luminance": 0.51078
}

Semantic roles & 50–950 ramp

primary
#BAB9EA
secondary
#C5C681
accent
#C124BE
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #BAB9EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BAB9EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva