#BAB7DC#BAB7DC

#BAB7DC is a light, muted blue. Relative luminance 0.495; OKLCH L 79.4% C 0.052 H 288.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#BAB7DC
RGBrgb(186, 183, 220)
HSLhsl(245, 35%, 79%)
HSVhsv(245, 17%, 86%)
CMYKcmyk(15.5%, 16.8%, 0%, 13.7%)
CIE-LABlab(75.74, 8.44, -18.14)
CIE-LCHlch(75.74, 20.01, 294.96°)
OKLaboklab(79.41% 0.0168 -0.0493)
OKLCHoklch(79.41% 0.052 288.9)
XYZxyz(50.0986, 49.4729, 74.6061)
Luminance0.4947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB7DC #D9DCB7
analogous
#B7C7DC #BAB7DC #CDB7DC
triadic
#BAB7DC #DCBAB7 #B7DCBA
tetradic
#BAB7DC #DCB7C7 #D9DCB7 #B7DCCD
square
#BAB7DC #DCB7C7 #D9DCB7 #B7DCCD
split-complementary
#BAB7DC #DCCDB7 #C7DCB7
monochromatic
#6B65B4 #938EC8 #BAB7DC #E1E0F0 #EBEAF5

Accessibility & contrast

On white

1.93
#BAB7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#BAB7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB7DC
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB7DC#FFFFFF#000000##000000
##BAB7DC1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFBBDE
Deuteranopia (green-blind)
#AEBADB
Tritanopia (blue-blind)
#B3BDC3
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bab7dc;
/* rgb */ color: rgb(186, 183, 220);
/* oklch */ color: oklch(79.4% 0.052 288.9);
Tailwind
colors: {
  custom: {
    50: '#cfcce7',
    500: '#bab7dc',
    950: '#000000',
  },
}
SCSS
$custom: #bab7dc;
$custom-light: #cfcce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bab7dc",
  "rgb": {
    "r": 186,
    "g": 183,
    "b": 220
  },
  "hsl": {
    "h": 244.865,
    "s": 34.579,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79405,
    "c": 0.05208,
    "h": 288.9
  },
  "luminance": 0.49473
}

Semantic roles & 50–950 ramp

primary
#BAB7DC
secondary
#EBECDF
accent
#AD38A4
background
#FCFCFE
surface
#F9F8FC
border
#D2D1D5
text
#131316
muted
#828284

Preview Lab

Preview with #BAB7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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