#BAB8EA#BAB8EA

#BAB8EA is a light, moderate blue. Relative luminance 0.507; OKLCH L 80.1% C 0.070 H 286.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#BAB8EA
RGBrgb(186, 184, 234)
HSLhsl(242, 54%, 82%)
HSVhsv(242, 21%, 92%)
CMYKcmyk(20.5%, 21.4%, 0%, 8.2%)
CIE-LABlab(76.47, 10.97, -24.61)
CIE-LCHlch(76.47, 26.95, 294.03°)
OKLaboklab(80.13% 0.02 -0.0674)
OKLCHoklch(80.13% 0.07 286.5)
XYZxyz(52.2380, 50.6598, 84.8521)
Luminance0.5066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB8EA #E8EAB8
analogous
#B8CFEA #BAB8EA #D3B8EA
triadic
#BAB8EA #EABAB8 #B8EABA
tetradic
#BAB8EA #EAB8CF #E8EAB8 #B8EAD3
square
#BAB8EA #EAB8CF #E8EAB8 #B8EAD3
split-complementary
#BAB8EA #EAD3B8 #CFEAB8
monochromatic
#5E5ACE #8C89DC #BAB8EA #E8E7F8 #E8E7F8

Accessibility & contrast

On white

1.89
#BAB8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#BAB8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB8EA
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB8EA#FFFFFF#000000##000000
##BAB8EA1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACBEEC
Deuteranopia (green-blind)
#ABBBE9
Tritanopia (blue-blind)
#B0C0C9
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bab8ea;
/* rgb */ color: rgb(186, 184, 234);
/* oklch */ color: oklch(80.1% 0.070 286.5);
Tailwind
colors: {
  custom: {
    50: '#cfcdf0',
    500: '#bab8ea',
    950: '#000000',
  },
}
SCSS
$custom: #bab8ea;
$custom-light: #cfcdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bab8ea",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 242.4,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80128,
    "c": 0.0703,
    "h": 286.5
  },
  "luminance": 0.50661
}

Semantic roles & 50–950 ramp

primary
#BAB8EA
secondary
#C3C680
accent
#C224BC
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #BAB8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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