#BAB9F5#BAB9F5

#BAB9F5 is a light, moderate blue. Relative luminance 0.517; OKLCH L 80.8% C 0.084 H 285.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#BAB9F5
RGBrgb(186, 185, 245)
HSLhsl(241, 75%, 84%)
HSVhsv(241, 24%, 96%)
CMYKcmyk(24.1%, 24.5%, 0%, 3.9%)
CIE-LABlab(77.12, 12.94, -29.55)
CIE-LCHlch(77.12, 32.26, 293.64°)
OKLaboklab(80.76% 0.022 -0.0813)
OKLCHoklch(80.76% 0.084 285.1)
XYZxyz(54.0760, 51.7286, 93.5041)
Luminance0.5173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB9F5 #F4F5B9
analogous
#B9D6F5 #BAB9F5 #D8B9F5
triadic
#BAB9F5 #F5BAB9 #B9F5BA
tetradic
#BAB9F5 #F5B9D6 #F4F5B9 #B9F5D8
square
#BAB9F5 #F5B9D6 #F4F5B9 #B9F5D8
split-complementary
#BAB9F5 #F5D8B9 #D6F5B9
monochromatic
#504EE6 #8583ED #BAB9F5 #E5E4FB #E5E4FB

Accessibility & contrast

On white

1.85
#BAB9F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.35
#BAB9F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB9F5
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB9F5#FFFFFF#000000##000000
##BAB9F51.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C0F8
Deuteranopia (green-blind)
#A8BDF3
Tritanopia (blue-blind)
#ADC3CE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #bab9f5;
/* rgb */ color: rgb(186, 185, 245);
/* oklch */ color: oklch(80.8% 0.084 285.1);
Tailwind
colors: {
  custom: {
    50: '#cfcef8',
    500: '#bab9f5',
    950: '#000000',
  },
}
SCSS
$custom: #bab9f5;
$custom-light: #cfcef8;
$custom-dark: #000000;
JSON
{
  "hex": "#bab9f5",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 245
  },
  "hsl": {
    "h": 241,
    "s": 75,
    "l": 84.314
  },
  "oklch": {
    "l": 0.80759,
    "c": 0.08426,
    "h": 285.1
  },
  "luminance": 0.5173
}

Semantic roles & 50–950 ramp

primary
#BAB9F5
secondary
#D5D67C
accent
#D70ED4
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141317
muted
#838385

Preview Lab

Preview with #BAB9F5

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

Preview Lab → · Contrast checker → · Palette generator →

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