#BAB5E8#BAB5E8

#BAB5E8 is a light, moderate blue. Relative luminance 0.493; OKLCH L 79.5% C 0.072 H 289.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#BAB5E8
RGBrgb(186, 181, 232)
HSLhsl(246, 53%, 81%)
HSVhsv(246, 22%, 91%)
CMYKcmyk(19.8%, 22%, 0%, 9%)
CIE-LABlab(75.65, 12.17, -24.79)
CIE-LCHlch(75.65, 27.62, 296.14°)
OKLaboklab(79.46% 0.0236 -0.0679)
OKLCHoklch(79.46% 0.072 289.1)
XYZxyz(51.3357, 49.3124, 83.1419)
Luminance0.4931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB5E8 #E3E8B5
analogous
#B5C9E8 #BAB5E8 #D3B5E8
triadic
#BAB5E8 #E8BAB5 #B5E8BA
tetradic
#BAB5E8 #E8B5C9 #E3E8B5 #B5E8D3
square
#BAB5E8 #E8B5C9 #E3E8B5 #B5E8D3
split-complementary
#BAB5E8 #E8D3B5 #C9E8B5
monochromatic
#6358CB #8E86D9 #BAB5E8 #E6E4F7 #E9E8F8

Accessibility & contrast

On white

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

On black

10.86
#BAB5E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB5E8
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB5E8#FFFFFF#000000##000000
##BAB5E81.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BBEA
Deuteranopia (green-blind)
#A8B9E7
Tritanopia (blue-blind)
#B0BDC6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bab5e8;
/* rgb */ color: rgb(186, 181, 232);
/* oklch */ color: oklch(79.5% 0.072 289.1);
Tailwind
colors: {
  custom: {
    50: '#cfcbef',
    500: '#bab5e8',
    950: '#000000',
  },
}
SCSS
$custom: #bab5e8;
$custom-light: #cfcbef;
$custom-dark: #000000;
JSON
{
  "hex": "#bab5e8",
  "rgb": {
    "r": 186,
    "g": 181,
    "b": 232
  },
  "hsl": {
    "h": 245.882,
    "s": 52.577,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79462,
    "c": 0.07185,
    "h": 289.1
  },
  "luminance": 0.49313
}

Semantic roles & 50–950 ramp

primary
#BAB5E8
secondary
#EDEFDC
accent
#C026B1
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141316
muted
#828284

Preview Lab

Preview with #BAB5E8

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

Preview Lab → · Contrast checker → · Palette generator →

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