#BAB4EA#BAB4EA

#BAB4EA is a light, moderate blue. Relative luminance 0.490; OKLCH L 79.3% C 0.076 H 289.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#BAB4EA
RGBrgb(186, 180, 234)
HSLhsl(247, 56%, 81%)
HSVhsv(247, 23%, 92%)
CMYKcmyk(20.5%, 23.1%, 0%, 8.2%)
CIE-LABlab(75.46, 13.17, -26.15)
CIE-LCHlch(75.46, 29.28, 296.72°)
OKLaboklab(79.35% 0.0256 -0.0717)
OKLCHoklch(79.35% 0.076 289.6)
XYZxyz(51.4188, 49.0215, 84.5791)
Luminance0.4902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB4EA #E4EAB4
analogous
#B4C9EA #BAB4EA #D5B4EA
triadic
#BAB4EA #EABAB4 #B4EABA
tetradic
#BAB4EA #EAB4C9 #E4EAB4 #B4EAD5
square
#BAB4EA #EAB4C9 #E4EAB4 #B4EAD5
split-complementary
#BAB4EA #EAD5B4 #C9EAB4
monochromatic
#6254CF #8E84DD #BAB4EA #E6E4F7 #E9E7F8

Accessibility & contrast

On white

1.94
#BAB4EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#BAB4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB4EA
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB4EA#FFFFFF#000000##000000
##BAB4EA1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7BBEC
Deuteranopia (green-blind)
#A7B9E9
Tritanopia (blue-blind)
#B0BDC7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bab4ea;
/* rgb */ color: rgb(186, 180, 234);
/* oklch */ color: oklch(79.3% 0.076 289.6);
Tailwind
colors: {
  custom: {
    50: '#cfcaf0',
    500: '#bab4ea',
    950: '#000000',
  },
}
SCSS
$custom: #bab4ea;
$custom-light: #cfcaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bab4ea",
  "rgb": {
    "r": 186,
    "g": 180,
    "b": 234
  },
  "hsl": {
    "h": 246.667,
    "s": 56.25,
    "l": 81.176
  },
  "oklch": {
    "l": 0.79346,
    "c": 0.07614,
    "h": 289.6
  },
  "luminance": 0.49022
}

Semantic roles & 50–950 ramp

primary
#BAB4EA
secondary
#EDF0DB
accent
#C422B2
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAB4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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