#BAB2EB#BAB2EB

#BAB2EB is a light, moderate blue. Relative luminance 0.483; OKLCH L 79.0% C 0.081 H 290.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#BAB2EB
RGBrgb(186, 178, 235)
HSLhsl(248, 59%, 81%)
HSVhsv(248, 24%, 92%)
CMYKcmyk(20.9%, 24.3%, 0%, 7.8%)
CIE-LABlab(75.00, 14.49, -27.41)
CIE-LCHlch(75.00, 31.00, 297.87°)
OKLaboklab(79% 0.0287 -0.0752)
OKLCHoklch(79% 0.081 290.9)
XYZxyz(51.1620, 48.2774, 85.2042)
Luminance0.4828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2EB #E3EBB2
analogous
#B2C6EB #BAB2EB #D6B2EB
triadic
#BAB2EB #EBBAB2 #B2EBBA
tetradic
#BAB2EB #EBB2C6 #E3EBB2 #B2EBD6
square
#BAB2EB #EBB2C6 #E3EBB2 #B2EBD6
split-complementary
#BAB2EB #EBD6B2 #C6EBB2
monochromatic
#6351D2 #8E81DE #BAB2EB #E6E3F8 #E9E7F9

Accessibility & contrast

On white

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

On black

10.66
#BAB2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2EB
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2EB#FFFFFF#000000##000000
##BAB2EB1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BAED
Deuteranopia (green-blind)
#A5B7E9
Tritanopia (blue-blind)
#B0BBC6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bab2eb;
/* rgb */ color: rgb(186, 178, 235);
/* oklch */ color: oklch(79.0% 0.081 290.9);
Tailwind
colors: {
  custom: {
    50: '#cfc9f1',
    500: '#bab2eb',
    950: '#000000',
  },
}
SCSS
$custom: #bab2eb;
$custom-light: #cfc9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2eb",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 235
  },
  "hsl": {
    "h": 248.421,
    "s": 58.763,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78997,
    "c": 0.08052,
    "h": 290.9
  },
  "luminance": 0.48278
}

Semantic roles & 50–950 ramp

primary
#BAB2EB
secondary
#EDF0DB
accent
#C61FAF
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAB2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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