#BAB2FF#BAB2FF

#BAB2FF is a light, moderate blue. Relative luminance 0.495; OKLCH L 79.8% C 0.108 H 288.5°. Best body text is #000000 at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#BAB2FF
RGBrgb(186, 178, 255)
HSLhsl(246, 100%, 85%)
HSVhsv(246, 30%, 100%)
CMYKcmyk(27.1%, 30.2%, 0%, 0%)
CIE-LABlab(75.76, 19.15, -37.03)
CIE-LCHlch(75.76, 41.69, 297.34°)
OKLaboklab(79.84% 0.0342 -0.1026)
OKLCHoklch(79.84% 0.108 288.5)
XYZxyz(54.2155, 49.4988, 101.2862)
Luminance0.4950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB2FF #F7FFB2
analogous
#B2D0FF #BAB2FF #E1B2FF
triadic
#BAB2FF #FFBAB2 #B2FFBA
tetradic
#BAB2FF #FFB2D0 #F7FFB2 #B2FFE1
square
#BAB2FF #FFB2D0 #F7FFB2 #B2FFE1
split-complementary
#BAB2FF #FFE1B2 #D0FFB2
monochromatic
#4C38FF #8375FF #BAB2FF #E4E0FF #E4E0FF

Accessibility & contrast

On white

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

On black

10.90
#BAB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB2FF
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB2FF#FFFFFF#000000##000000
##BAB2FF1.001.9310.9010.90
#FFFFFF1.931.0021.0021.00
#00000010.9021.001.001.00
##00000010.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#9DB9FD
Tritanopia (blue-blind)
#AABFCE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bab2ff;
/* rgb */ color: rgb(186, 178, 255);
/* oklch */ color: oklch(79.8% 0.108 288.5);
Tailwind
colors: {
  custom: {
    50: '#d0c9ff',
    500: '#bab2ff',
    950: '#000000',
  },
}
SCSS
$custom: #bab2ff;
$custom-light: #d0c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bab2ff",
  "rgb": {
    "r": 186,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 246.234,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.79836,
    "c": 0.10819,
    "h": 288.5
  },
  "luminance": 0.495
}

Semantic roles & 50–950 ramp

primary
#BAB2FF
secondary
#F4F7D4
accent
#E600CE
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #BAB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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