#BAB2EA#BAB2EA

#BAB2EA is a light, moderate blue. Relative luminance 0.482; OKLCH L 79.0% C 0.079 H 291.0°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#BAB2EA
RGBrgb(186, 178, 234)
HSLhsl(249, 57%, 81%)
HSVhsv(249, 24%, 92%)
CMYKcmyk(20.5%, 23.9%, 0%, 8.2%)
CIE-LABlab(74.96, 14.26, -26.92)
CIE-LCHlch(74.96, 30.47, 297.92°)
OKLaboklab(78.96% 0.0284 -0.0739)
OKLCHoklch(78.96% 0.079 291)
XYZxyz(51.0179, 48.2198, 84.4454)
Luminance0.4822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2EA #E2EAB2
analogous
#B2C6EA #BAB2EA #D6B2EA
triadic
#BAB2EA #EABAB2 #B2EABA
tetradic
#BAB2EA #EAB2C6 #E2EAB2 #B2EAD6
square
#BAB2EA #EAB2C6 #E2EAB2 #B2EAD6
split-complementary
#BAB2EA #EAD6B2 #C6EAB2
monochromatic
#6452D0 #8F82DD #BAB2EA #E5E2F7 #E9E7F8

Accessibility & contrast

On white

1.97
#BAB2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#BAB2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2EA
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2EA#FFFFFF#000000##000000
##BAB2EA1.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B9EC
Deuteranopia (green-blind)
#A5B7E8
Tritanopia (blue-blind)
#B0BBC5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #bab2ea;
/* rgb */ color: rgb(186, 178, 234);
/* oklch */ color: oklch(79.0% 0.079 291.0);
Tailwind
colors: {
  custom: {
    50: '#cfc9f1',
    500: '#bab2ea',
    950: '#000000',
  },
}
SCSS
$custom: #bab2ea;
$custom-light: #cfc9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2ea",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 234
  },
  "hsl": {
    "h": 248.571,
    "s": 57.143,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78957,
    "c": 0.07912,
    "h": 291
  },
  "luminance": 0.4822
}

Semantic roles & 50–950 ramp

primary
#BAB2EA
secondary
#EDF0DB
accent
#C521AD
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAB2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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