#BAABF5#BAABF5

#BAABF5 is a light, moderate violet. Relative luminance 0.462; OKLCH L 78.1% C 0.105 H 293.1°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#BAABF5
RGBrgb(186, 171, 245)
HSLhsl(252, 79%, 82%)
HSVhsv(252, 30%, 96%)
CMYKcmyk(24.1%, 30.2%, 0%, 3.9%)
CIE-LABlab(73.65, 20.66, -34.91)
CIE-LCHlch(73.65, 40.56, 300.62°)
OKLaboklab(78.08% 0.0412 -0.0965)
OKLCHoklch(78.08% 0.105 293.1)
XYZxyz(51.2901, 46.1568, 92.5755)
Luminance0.4616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABF5 #E6F5AB
analogous
#ABC1F5 #BAABF5 #DFABF5
triadic
#BAABF5 #F5BAAB #ABF5BA
tetradic
#BAABF5 #F5ABC1 #E6F5AB #ABF5DF
square
#BAABF5 #F5ABC1 #E6F5AB #ABF5DF
split-complementary
#BAABF5 #F5DFAB #C1F5AB
monochromatic
#603EE8 #8D74EE #BAABF5 #E7E2FC #E9E4FC

Accessibility & contrast

On white

2.05
#BAABF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#BAABF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABF5
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABF5#FFFFFF#000000##000000
##BAABF51.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B6F8
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#AEB7C5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baabf5;
/* rgb */ color: rgb(186, 171, 245);
/* oklch */ color: oklch(78.1% 0.105 293.1);
Tailwind
colors: {
  custom: {
    50: '#d0c4f8',
    500: '#baabf5',
    950: '#000000',
  },
}
SCSS
$custom: #baabf5;
$custom-light: #d0c4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#baabf5",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 245
  },
  "hsl": {
    "h": 252.162,
    "s": 78.723,
    "l": 81.569
  },
  "oklch": {
    "l": 0.78079,
    "c": 0.10495,
    "h": 293.1
  },
  "luminance": 0.46157
}

Semantic roles & 50–950 ramp

primary
#BAABF5
secondary
#EEF4D7
accent
#DB0AB1
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAABF5

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

Preview Lab → · Contrast checker → · Palette generator →

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