#BAB8F1#BAB8F1

#BAB8F1 is a light, moderate blue. Relative luminance 0.511; OKLCH L 80.4% C 0.080 H 286.1°. Best body text is #000000 at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#BAB8F1
RGBrgb(186, 184, 241)
HSLhsl(242, 67%, 83%)
HSVhsv(242, 24%, 95%)
CMYKcmyk(22.8%, 23.7%, 0%, 5.5%)
CIE-LABlab(76.72, 12.56, -28.01)
CIE-LCHlch(76.72, 30.70, 294.16°)
OKLaboklab(80.4% 0.0222 -0.077)
OKLCHoklch(80.4% 0.08 286.1)
XYZxyz(53.2635, 51.0700, 90.2533)
Luminance0.5107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB8F1 #EFF1B8
analogous
#B8D2F1 #BAB8F1 #D6B8F1
triadic
#BAB8F1 #F1BAB8 #B8F1BA
tetradic
#BAB8F1 #F1B8D2 #EFF1B8 #B8F1D6
square
#BAB8F1 #F1B8D2 #EFF1B8 #B8F1D6
split-complementary
#BAB8F1 #F1D6B8 #D2F1B8
monochromatic
#5752DD #8885E7 #BAB8F1 #E6E5FA #E6E5FA

Accessibility & contrast

On white

1.87
#BAB8F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.21
#BAB8F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB8F1
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB8F1#FFFFFF#000000##000000
##BAB8F11.001.8711.2111.21
#FFFFFF1.871.0021.0021.00
#00000011.2121.001.001.00
##00000011.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BFF3
Deuteranopia (green-blind)
#A8BCEF
Tritanopia (blue-blind)
#AEC2CC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #bab8f1;
/* rgb */ color: rgb(186, 184, 241);
/* oklch */ color: oklch(80.4% 0.080 286.1);
Tailwind
colors: {
  custom: {
    50: '#cfcdf5',
    500: '#bab8f1',
    950: '#000000',
  },
}
SCSS
$custom: #bab8f1;
$custom-light: #cfcdf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bab8f1",
  "rgb": {
    "r": 186,
    "g": 184,
    "b": 241
  },
  "hsl": {
    "h": 242.105,
    "s": 67.059,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80403,
    "c": 0.08009,
    "h": 286.1
  },
  "luminance": 0.51071
}

Semantic roles & 50–950 ramp

primary
#BAB8F1
secondary
#CDD07D
accent
#CF17C8
background
#FEFEFF
surface
#FBFAFE
border
#D4D3D6
text
#141317
muted
#838385

Preview Lab

Preview with #BAB8F1

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

Preview Lab → · Contrast checker → · Palette generator →

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