#BAB9FF#BAB9FF

#BAB9FF is a light, moderate blue. Relative luminance 0.524; OKLCH L 81.2% C 0.098 H 284.7°. Best body text is #000000 at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#BAB9FF
RGBrgb(186, 185, 255)
HSLhsl(241, 100%, 86%)
HSVhsv(241, 27%, 100%)
CMYKcmyk(27.1%, 27.5%, 0%, 0%)
CIE-LABlab(77.49, 15.29, -34.35)
CIE-LCHlch(77.49, 37.60, 294.00°)
OKLaboklab(81.17% 0.0248 -0.095)
OKLCHoklch(81.17% 0.098 284.7)
XYZxyz(55.6440, 52.3558, 101.7623)
Luminance0.5236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB9FF #FEFFB9
analogous
#B9DBFF #BAB9FF #DDB9FF
triadic
#BAB9FF #FFBAB9 #B9FFBA
tetradic
#BAB9FF #FFB9DB #FEFFB9 #B9FFDD
square
#BAB9FF #FFB9DB #FEFFB9 #B9FFDD
split-complementary
#BAB9FF #FFDDB9 #DBFFB9
monochromatic
#413FFF #7E7CFF #BAB9FF #E1E0FF #E1E0FF

Accessibility & contrast

On white

1.83
#BAB9FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.47
#BAB9FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB9FF
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB9FF#FFFFFF#000000##000000
##BAB9FF1.001.8311.4711.47
#FFFFFF1.831.0021.0021.00
#00000011.4721.001.001.00
##00000011.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#A4BDFD
Tritanopia (blue-blind)
#AAC5D2
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #bab9ff;
/* rgb */ color: rgb(186, 185, 255);
/* oklch */ color: oklch(81.2% 0.098 284.7);
Tailwind
colors: {
  custom: {
    50: '#d0ceff',
    500: '#bab9ff',
    950: '#000000',
  },
}
SCSS
$custom: #bab9ff;
$custom-light: #d0ceff;
$custom-dark: #000000;
JSON
{
  "hex": "#bab9ff",
  "rgb": {
    "r": 186,
    "g": 185,
    "b": 255
  },
  "hsl": {
    "h": 240.857,
    "s": 100,
    "l": 86.275
  },
  "oklch": {
    "l": 0.81173,
    "c": 0.09817,
    "h": 284.7
  },
  "luminance": 0.52357
}

Semantic roles & 50–950 ramp

primary
#BAB9FF
secondary
#E5E775
accent
#E600E2
background
#FEFEFF
surface
#FBFAFF
border
#D4D3D7
text
#141318
muted
#838386

Preview Lab

Preview with #BAB9FF

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

Preview Lab → · Contrast checker → · Palette generator →

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