#BAB9FA#BAB9FA

#BAB9FA is a light, moderate blue. Relative luminance 0.520; OKLCH L 81.0% C 0.091 H 284.9°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#BAB9FA
RGBrgb(186, 185, 250)
HSLhsl(241, 87%, 85%)
HSVhsv(241, 26%, 98%)
CMYKcmyk(25.6%, 26%, 0%, 2%)
CIE-LABlab(77.30, 14.11, -31.96)
CIE-LCHlch(77.30, 34.93, 293.82°)
OKLaboklab(80.96% 0.0234 -0.0882)
OKLCHoklch(80.96% 0.091 284.9)
XYZxyz(54.8496, 52.0380, 97.5785)
Luminance0.5204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB9FA #F9FAB9
analogous
#B9D8FA #BAB9FA #DAB9FA
triadic
#BAB9FA #FABAB9 #B9FABA
tetradic
#BAB9FA #FAB9D8 #F9FAB9 #B9FADA
square
#BAB9FA #FAB9D8 #F9FAB9 #B9FADA
split-complementary
#BAB9FA #FADAB9 #D8FAB9
monochromatic
#4947F2 #8280F6 #BAB9FA #E3E2FD #E3E2FD

Accessibility & contrast

On white

1.84
#BAB9FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#BAB9FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB9FA
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB9FA#FFFFFF#000000##000000
##BAB9FA1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#ABC4D0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bab9fa;
/* rgb */ color: rgb(186, 185, 250);
/* oklch */ color: oklch(81.0% 0.091 284.9);
Tailwind
colors: {
  custom: {
    50: '#d0cefc',
    500: '#bab9fa',
    950: '#000000',
  },
}
SCSS
$custom: #bab9fa;
$custom-light: #d0cefc;
$custom-dark: #000000;
JSON
{
  "hex": "#bab9fa",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 250
  },
  "hsl": {
    "h": 240.923,
    "s": 86.667,
    "l": 85.294
  },
  "oklch": {
    "l": 0.80964,
    "c": 0.09123,
    "h": 284.9
  },
  "luminance": 0.52039
}

Semantic roles & 50–950 ramp

primary
#BAB9FA
secondary
#DDDE79
accent
#E302E0
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141317
muted
#838385

Preview Lab

Preview with #BAB9FA

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

Preview Lab → · Contrast checker → · Palette generator →

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