#BAB2FE#BAB2FE

#BAB2FE is a light, moderate blue. Relative luminance 0.494; OKLCH L 79.8% C 0.107 H 288.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#BAB2FE
RGBrgb(186, 178, 254)
HSLhsl(246, 97%, 85%)
HSVhsv(246, 30%, 100%)
CMYKcmyk(26.8%, 29.9%, 0%, 0.4%)
CIE-LABlab(75.72, 18.91, -36.55)
CIE-LCHlch(75.72, 41.15, 297.35°)
OKLaboklab(79.79% 0.034 -0.1013)
OKLCHoklch(79.79% 0.107 288.6)
XYZxyz(54.0550, 49.4346, 100.4406)
Luminance0.4944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2FE #F6FEB2
analogous
#B2D0FE #BAB2FE #E0B2FE
triadic
#BAB2FE #FEBAB2 #B2FEBA
tetradic
#BAB2FE #FEB2D0 #F6FEB2 #B2FEE0
square
#BAB2FE #FEB2D0 #F6FEB2 #B2FEE0
split-complementary
#BAB2FE #FEE0B2 #D0FEB2
monochromatic
#4E39FC #8476FD #BAB2FE #E4E1FF #E4E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAB2FE#FFFFFF#000000##000000
##BAB2FE1.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)
#9EBCFF
Deuteranopia (green-blind)
#9DB9FC
Tritanopia (blue-blind)
#ABBFCD
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bab2fe;
/* rgb */ color: rgb(186, 178, 254);
/* oklch */ color: oklch(79.8% 0.107 288.6);
Tailwind
colors: {
  custom: {
    50: '#d0c9ff',
    500: '#bab2fe',
    950: '#000000',
  },
}
SCSS
$custom: #bab2fe;
$custom-light: #d0c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2fe",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 254
  },
  "hsl": {
    "h": 246.316,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.79792,
    "c": 0.10681,
    "h": 288.6
  },
  "luminance": 0.49436
}

Semantic roles & 50–950 ramp

primary
#BAB2FE
secondary
#F3F7D4
accent
#E600CD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #BAB2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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