#BAABFE#BAABFE

#BAABFE is a light, moderate violet. Relative luminance 0.467; OKLCH L 78.5% C 0.117 H 291.8°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#BAABFE
RGBrgb(186, 171, 254)
HSLhsl(251, 98%, 83%)
HSVhsv(251, 33%, 100%)
CMYKcmyk(26.8%, 32.7%, 0%, 0.4%)
CIE-LABlab(74.01, 22.78, -39.21)
CIE-LCHlch(74.01, 45.35, 300.16°)
OKLaboklab(78.48% 0.0434 -0.1089)
OKLCHoklch(78.48% 0.117 291.8)
XYZxyz(52.6976, 46.7198, 99.9882)
Luminance0.4672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABFE #EFFEAB
analogous
#ABC5FE #BAABFE #E3ABFE
triadic
#BAABFE #FEBAAB #ABFEBA
tetradic
#BAABFE #FEABC5 #EFFEAB #ABFEE3
square
#BAABFE #FEABC5 #EFFEAB #ABFEE3
split-complementary
#BAABFE #FEE3AB #C5FEAB
monochromatic
#5732FD #886FFD #BAABFE #E6E1FF #E6E1FF

Accessibility & contrast

On white

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

On black

10.34
#BAABFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABFE
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABFE#FFFFFF#000000##000000
##BAABFE1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baabfe;
/* rgb */ color: rgb(186, 171, 254);
/* oklch */ color: oklch(78.5% 0.117 291.8);
Tailwind
colors: {
  custom: {
    50: '#d0c4ff',
    500: '#baabfe',
    950: '#000000',
  },
}
SCSS
$custom: #baabfe;
$custom-light: #d0c4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#baabfe",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 254
  },
  "hsl": {
    "h": 250.843,
    "s": 97.647,
    "l": 83.333
  },
  "oklch": {
    "l": 0.78477,
    "c": 0.11722,
    "h": 291.8
  },
  "luminance": 0.46721
}

Semantic roles & 50–950 ramp

primary
#BAABFE
secondary
#F1F7D4
accent
#E600BC
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAABFE

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

Preview Lab → · Contrast checker → · Palette generator →

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