#BAABFC#BAABFC

#BAABFC is a light, moderate violet. Relative luminance 0.466; OKLCH L 78.4% C 0.115 H 292.0°. Best body text is #000000 at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#BAABFC
RGBrgb(186, 171, 252)
HSLhsl(251, 93%, 83%)
HSVhsv(251, 32%, 99%)
CMYKcmyk(26.2%, 32.1%, 0%, 1.2%)
CIE-LABlab(73.93, 22.31, -38.26)
CIE-LCHlch(73.93, 44.29, 300.25°)
OKLaboklab(78.39% 0.043 -0.1061)
OKLCHoklch(78.39% 0.115 292)
XYZxyz(52.3790, 46.5924, 98.3102)
Luminance0.4659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAABFC #EDFCAB
analogous
#ABC4FC #BAABFC #E2ABFC
triadic
#BAABFC #FCBAAB #ABFCBA
tetradic
#BAABFC #FCABC4 #EDFCAB #ABFCE2
square
#BAABFC #FCABC4 #EDFCAB #ABFCE2
split-complementary
#BAABFC #FCE2AB #C4FCAB
monochromatic
#5935F8 #8970FA #BAABFC #E7E1FE #E7E1FE

Accessibility & contrast

On white

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

On black

10.32
#BAABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAABFC
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAABFC#FFFFFF#000000##000000
##BAABFC1.002.0410.3210.32
#FFFFFF2.041.0021.0021.00
#00000010.3221.001.001.00
##00000010.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FF
Deuteranopia (green-blind)
#97B4FA
Tritanopia (blue-blind)
#ACB9C8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baabfc;
/* rgb */ color: rgb(186, 171, 252);
/* oklch */ color: oklch(78.4% 0.115 292.0);
Tailwind
colors: {
  custom: {
    50: '#d0c4fd',
    500: '#baabfc',
    950: '#000000',
  },
}
SCSS
$custom: #baabfc;
$custom-light: #d0c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#baabfc",
  "rgb": {
    "r": 186,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 251.111,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.78387,
    "c": 0.1145,
    "h": 292
  },
  "luminance": 0.46593
}

Semantic roles & 50–950 ramp

primary
#BAABFC
secondary
#F0F6D5
accent
#E600BB
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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