#BAB7EA#BAB7EA

#BAB7EA is a light, moderate blue. Relative luminance 0.502; OKLCH L 79.9% C 0.072 H 287.3°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#BAB7EA
RGBrgb(186, 183, 234)
HSLhsl(244, 55%, 82%)
HSVhsv(244, 22%, 92%)
CMYKcmyk(20.5%, 21.8%, 0%, 8.2%)
CIE-LABlab(76.22, 11.52, -25.00)
CIE-LCHlch(76.22, 27.53, 294.74°)
OKLaboklab(79.93% 0.0214 -0.0685)
OKLCHoklch(79.93% 0.072 287.3)
XYZxyz(52.0310, 50.2458, 84.7831)
Luminance0.5025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB7EA #E7EAB7
analogous
#B7CEEA #BAB7EA #D4B7EA
triadic
#BAB7EA #EABAB7 #B7EABA
tetradic
#BAB7EA #EAB7CE #E7EAB7 #B7EAD4
square
#BAB7EA #EAB7CE #E7EAB7 #B7EAD4
split-complementary
#BAB7EA #EAD4B7 #CEEAB7
monochromatic
#5F58CE #8D88DC #BAB7EA #E7E6F8 #E8E7F8

Accessibility & contrast

On white

1.90
#BAB7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#BAB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB7EA
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB7EA#FFFFFF#000000##000000
##BAB7EA1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ABBDEC
Deuteranopia (green-blind)
#AABBE9
Tritanopia (blue-blind)
#B0BFC8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #bab7ea;
/* rgb */ color: rgb(186, 183, 234);
/* oklch */ color: oklch(79.9% 0.072 287.3);
Tailwind
colors: {
  custom: {
    50: '#cfccf0',
    500: '#bab7ea',
    950: '#000000',
  },
}
SCSS
$custom: #bab7ea;
$custom-light: #cfccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#bab7ea",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 243.529,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79931,
    "c": 0.07173,
    "h": 287.3
  },
  "luminance": 0.50247
}

Semantic roles & 50–950 ramp

primary
#BAB7EA
secondary
#C2C67F
accent
#C223B9
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141316
muted
#838385

Preview Lab

Preview with #BAB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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