#BAABFF#BAABFF

#BAABFF is a light, moderate violet. Relative luminance 0.468; OKLCH L 78.5% C 0.119 H 291.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#BAABFF
RGBrgb(186, 171, 255)
HSLhsl(251, 100%, 84%)
HSVhsv(251, 33%, 100%)
CMYKcmyk(27.1%, 32.9%, 0%, 0%)
CIE-LABlab(74.05, 23.02, -39.68)
CIE-LCHlch(74.05, 45.88, 300.12°)
OKLaboklab(78.52% 0.0437 -0.1102)
OKLCHoklch(78.52% 0.119 291.6)
XYZxyz(52.8582, 46.7841, 100.8337)
Luminance0.4678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABFF #F0FFAB
analogous
#ABC6FF #BAABFF #E4ABFF
triadic
#BAABFF #FFBAAB #ABFFBA
tetradic
#BAABFF #FFABC6 #F0FFAB #ABFFE4
square
#BAABFF #FFABC6 #F0FFAB #ABFFE4
split-complementary
#BAABFF #FFE4AB #C6FFAB
monochromatic
#5531FF #886EFF #BAABFF #E6E0FF #E6E0FF

Accessibility & contrast

On white

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

On black

10.36
#BAABFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABFF
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABFF#FFFFFF#000000##000000
##BAABFF1.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baabff;
/* rgb */ color: rgb(186, 171, 255);
/* oklch */ color: oklch(78.5% 0.119 291.6);
Tailwind
colors: {
  custom: {
    50: '#d0c4ff',
    500: '#baabff',
    950: '#000000',
  },
}
SCSS
$custom: #baabff;
$custom-light: #d0c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#baabff",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 255
  },
  "hsl": {
    "h": 250.714,
    "s": 100,
    "l": 83.529
  },
  "oklch": {
    "l": 0.78522,
    "c": 0.11857,
    "h": 291.6
  },
  "luminance": 0.46785
}

Semantic roles & 50–950 ramp

primary
#BAABFF
secondary
#F1F7D4
accent
#E600BD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAABFF

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

Preview Lab → · Contrast checker → · Palette generator →

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