#BAB3FF#BAB3FF

#BAB3FF is a light, moderate blue. Relative luminance 0.499; OKLCH L 80.0% C 0.107 H 287.9°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#BAB3FF
RGBrgb(186, 179, 255)
HSLhsl(246, 100%, 85%)
HSVhsv(246, 30%, 100%)
CMYKcmyk(27.1%, 29.8%, 0%, 0%)
CIE-LABlab(76.01, 18.59, -36.65)
CIE-LCHlch(76.01, 41.09, 296.90°)
OKLaboklab(80.03% 0.0329 -0.1015)
OKLCHoklch(80.03% 0.107 287.9)
XYZxyz(54.4152, 49.8982, 101.3528)
Luminance0.4990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB3FF #F8FFB3
analogous
#B3D2FF #BAB3FF #E0B3FF
triadic
#BAB3FF #FFBAB3 #B3FFBA
tetradic
#BAB3FF #FFB3D2 #F8FFB3 #B3FFE0
square
#BAB3FF #FFB3D2 #F8FFB3 #B3FFE0
split-complementary
#BAB3FF #FFE0B3 #D2FFB3
monochromatic
#4B39FF #8276FF #BAB3FF #E3E0FF #E3E0FF

Accessibility & contrast

On white

1.91
#BAB3FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#BAB3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB3FF
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB3FF#FFFFFF#000000##000000
##BAB3FF1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#9EBAFD
Tritanopia (blue-blind)
#AAC0CE
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #bab3ff;
/* rgb */ color: rgb(186, 179, 255);
/* oklch */ color: oklch(80.0% 0.107 287.9);
Tailwind
colors: {
  custom: {
    50: '#d0c9ff',
    500: '#bab3ff',
    950: '#000000',
  },
}
SCSS
$custom: #bab3ff;
$custom-light: #d0c9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bab3ff",
  "rgb": {
    "r": 186,
    "g": 179,
    "b": 255
  },
  "hsl": {
    "h": 245.526,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.80025,
    "c": 0.10673,
    "h": 287.9
  },
  "luminance": 0.49899
}

Semantic roles & 50–950 ramp

primary
#BAB3FF
secondary
#F4F7D4
accent
#E600D0
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141318
muted
#828286

Preview Lab

Preview with #BAB3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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