#BAB2FA#BAB2FA

#BAB2FA is a light, moderate blue. Relative luminance 0.492; OKLCH L 79.6% C 0.101 H 289.0°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#BAB2FA
RGBrgb(186, 178, 250)
HSLhsl(247, 88%, 84%)
HSVhsv(247, 29%, 98%)
CMYKcmyk(25.6%, 28.8%, 0%, 2%)
CIE-LABlab(75.56, 17.96, -34.64)
CIE-LCHlch(75.56, 39.02, 297.40°)
OKLaboklab(79.62% 0.0329 -0.0958)
OKLCHoklch(79.62% 0.101 289)
XYZxyz(53.4211, 49.1811, 97.1023)
Luminance0.4918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2FA #F2FAB2
analogous
#B2CEFA #BAB2FA #DEB2FA
triadic
#BAB2FA #FABAB2 #B2FABA
tetradic
#BAB2FA #FAB2CE #F2FAB2 #B2FADE
square
#BAB2FA #FAB2CE #F2FAB2 #B2FADE
split-complementary
#BAB2FA #FADEB2 #CEFAB2
monochromatic
#533FF3 #8779F6 #BAB2FA #E5E2FD #E5E2FD

Accessibility & contrast

On white

1.94
#BAB2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.84
#BAB2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2FA
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2FA#FFFFFF#000000##000000
##BAB2FA1.001.9410.8410.84
#FFFFFF1.941.0021.0021.00
#00000010.8421.001.001.00
##00000010.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#ACBECC
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #bab2fa;
/* rgb */ color: rgb(186, 178, 250);
/* oklch */ color: oklch(79.6% 0.101 289.0);
Tailwind
colors: {
  custom: {
    50: '#d0c9fc',
    500: '#bab2fa',
    950: '#000000',
  },
}
SCSS
$custom: #bab2fa;
$custom-light: #d0c9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2fa",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 250
  },
  "hsl": {
    "h": 246.667,
    "s": 87.805,
    "l": 83.922
  },
  "oklch": {
    "l": 0.79619,
    "c": 0.1013,
    "h": 289
  },
  "luminance": 0.49182
}

Semantic roles & 50–950 ramp

primary
#BAB2FA
secondary
#F2F5D6
accent
#E401CB
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141317
muted
#828285

Preview Lab

Preview with #BAB2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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