#BAB2EF#BAB2EF

#BAB2EF is a light, moderate blue. Relative luminance 0.485; OKLCH L 79.2% C 0.086 H 290.3°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#BAB2EF
RGBrgb(186, 178, 239)
HSLhsl(248, 66%, 82%)
HSVhsv(248, 26%, 94%)
CMYKcmyk(22.2%, 25.5%, 0%, 6.3%)
CIE-LABlab(75.15, 15.40, -29.35)
CIE-LCHlch(75.15, 33.14, 297.69°)
OKLaboklab(79.16% 0.0299 -0.0807)
OKLCHoklch(79.16% 0.086 290.3)
XYZxyz(51.7464, 48.5112, 88.2820)
Luminance0.4851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2EF #E7EFB2
analogous
#B2C9EF #BAB2EF #D9B2EF
triadic
#BAB2EF #EFBAB2 #B2EFBA
tetradic
#BAB2EF #EFB2C9 #E7EFB2 #B2EFD9
square
#BAB2EF #EFB2C9 #E7EFB2 #B2EFD9
split-complementary
#BAB2EF #EFD9B2 #C9EFB2
monochromatic
#5F4DDA #8D7FE4 #BAB2EF #E7E5FA #E8E6FA

Accessibility & contrast

On white

1.96
#BAB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.70
#BAB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2EF
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2EF#FFFFFF#000000##000000
##BAB2EF1.001.9610.7010.70
#FFFFFF1.961.0021.0021.00
#00000010.7021.001.001.00
##00000010.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#A3B8ED
Tritanopia (blue-blind)
#AFBCC7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #bab2ef;
/* rgb */ color: rgb(186, 178, 239);
/* oklch */ color: oklch(79.2% 0.086 290.3);
Tailwind
colors: {
  custom: {
    50: '#cfc9f4',
    500: '#bab2ef',
    950: '#000000',
  },
}
SCSS
$custom: #bab2ef;
$custom-light: #cfc9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2ef",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 247.869,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79159,
    "c": 0.08608,
    "h": 290.3
  },
  "luminance": 0.48512
}

Semantic roles & 50–950 ramp

primary
#BAB2EF
secondary
#EEF1DA
accent
#CD18B6
background
#FCFCFE
surface
#F9F8FD
border
#D2D1D5
text
#141317
muted
#828285

Preview Lab

Preview with #BAB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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