#BAABFD#BAABFD

#BAABFD is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.4% C 0.116 H 291.9°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#BAABFD
RGBrgb(186, 171, 253)
HSLhsl(251, 95%, 83%)
HSVhsv(251, 32%, 99%)
CMYKcmyk(26.5%, 32.4%, 0%, 0.8%)
CIE-LABlab(73.97, 22.55, -38.73)
CIE-LCHlch(73.97, 44.82, 300.20°)
OKLaboklab(78.43% 0.0432 -0.1075)
OKLCHoklch(78.43% 0.116 291.9)
XYZxyz(52.5379, 46.6559, 99.1470)
Luminance0.4666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABFD #EEFDAB
analogous
#ABC5FD #BAABFD #E3ABFD
triadic
#BAABFD #FDBAAB #ABFDBA
tetradic
#BAABFD #FDABC5 #EEFDAB #ABFDE3
square
#BAABFD #FDABC5 #EEFDAB #ABFDE3
split-complementary
#BAABFD #FDE3AB #C5FDAB
monochromatic
#5833FA #896FFC #BAABFD #E6E1FE #E6E1FE

Accessibility & contrast

On white

2.03
#BAABFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#BAABFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABFD
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABFD#FFFFFF#000000##000000
##BAABFD1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#96B4FB
Tritanopia (blue-blind)
#ABB9C9
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baabfd;
/* rgb */ color: rgb(186, 171, 253);
/* oklch */ color: oklch(78.4% 0.116 291.9);
Tailwind
colors: {
  custom: {
    50: '#d0c4fe',
    500: '#baabfd',
    950: '#000000',
  },
}
SCSS
$custom: #baabfd;
$custom-light: #d0c4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#baabfd",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 253
  },
  "hsl": {
    "h": 250.976,
    "s": 95.349,
    "l": 83.137
  },
  "oklch": {
    "l": 0.78432,
    "c": 0.11586,
    "h": 291.9
  },
  "luminance": 0.46657
}

Semantic roles & 50–950 ramp

primary
#BAABFD
secondary
#F0F7D4
accent
#E600BC
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAABFD

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

Preview Lab → · Contrast checker → · Palette generator →

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