#BAABFA#BAABFA

#BAABFA is a light, moderate violet. Relative luminance 0.465; OKLCH L 78.3% C 0.112 H 292.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#BAABFA
RGBrgb(186, 171, 250)
HSLhsl(251, 89%, 83%)
HSVhsv(251, 32%, 98%)
CMYKcmyk(25.6%, 31.6%, 0%, 2%)
CIE-LABlab(73.85, 21.83, -37.30)
CIE-LCHlch(73.85, 43.22, 300.34°)
OKLaboklab(78.3% 0.0425 -0.1034)
OKLCHoklch(78.3% 0.112 292.3)
XYZxyz(52.0638, 46.4663, 96.6499)
Luminance0.4647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABFA #EBFAAB
analogous
#ABC4FA #BAABFA #E1ABFA
triadic
#BAABFA #FABAAB #ABFABA
tetradic
#BAABFA #FAABC4 #EBFAAB #ABFAE1
square
#BAABFA #FAABC4 #EBFAAB #ABFAE1
split-complementary
#BAABFA #FAE1AB #C4FAAB
monochromatic
#5B37F3 #8B71F7 #BAABFA #E7E2FD #E7E2FD

Accessibility & contrast

On white

2.04
#BAABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#BAABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABFA
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABFA#FFFFFF#000000##000000
##BAABFA1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#ACB8C8
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baabfa;
/* rgb */ color: rgb(186, 171, 250);
/* oklch */ color: oklch(78.3% 0.112 292.3);
Tailwind
colors: {
  custom: {
    50: '#d0c4fc',
    500: '#baabfa',
    950: '#000000',
  },
}
SCSS
$custom: #baabfa;
$custom-light: #d0c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#baabfa",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 251.392,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78298,
    "c": 0.11177,
    "h": 292.3
  },
  "luminance": 0.46467
}

Semantic roles & 50–950 ramp

primary
#BAABFA
secondary
#EFF5D6
accent
#E500BA
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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