#BAACFB#BAACFB

#BAACFB is a light, moderate violet. Relative luminance 0.469; OKLCH L 78.5% C 0.112 H 291.7°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#BAACFB
RGBrgb(186, 172, 251)
HSLhsl(251, 91%, 83%)
HSVhsv(251, 31%, 98%)
CMYKcmyk(25.9%, 31.5%, 0%, 1.6%)
CIE-LABlab(74.13, 21.52, -37.40)
CIE-LCHlch(74.13, 43.15, 299.91°)
OKLaboklab(78.53% 0.0414 -0.1037)
OKLCHoklch(78.53% 0.112 291.7)
XYZxyz(52.4106, 46.9084, 97.5410)
Luminance0.4691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAACFB #EDFBAC
analogous
#ACC5FB #BAACFB #E1ACFB
triadic
#BAACFB #FBBAAC #ACFBBA
tetradic
#BAACFB #FBACC5 #EDFBAC #ACFBE1
square
#BAACFB #FBACC5 #EDFBAC #ACFBE1
split-complementary
#BAACFB #FBE1AC #C5FBAC
monochromatic
#5937F5 #8972F8 #BAACFB #E7E2FE #E7E2FE

Accessibility & contrast

On white

2.02
#BAACFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#BAACFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAACFB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAACFB#FFFFFF#000000##000000
##BAACFB1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#98B5F9
Tritanopia (blue-blind)
#ACB9C8
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #baacfb;
/* rgb */ color: rgb(186, 172, 251);
/* oklch */ color: oklch(78.5% 0.112 291.7);
Tailwind
colors: {
  custom: {
    50: '#d0c4fd',
    500: '#baacfb',
    950: '#000000',
  },
}
SCSS
$custom: #baacfb;
$custom-light: #d0c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#baacfb",
  "rgb": {
    "r": 186,
    "g": 172,
    "b": 251
  },
  "hsl": {
    "h": 250.633,
    "s": 90.805,
    "l": 82.941
  },
  "oklch": {
    "l": 0.7853,
    "c": 0.11162,
    "h": 291.7
  },
  "luminance": 0.46909
}

Semantic roles & 50–950 ramp

primary
#BAACFB
secondary
#F0F6D5
accent
#E600BD
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAACFB

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

Preview Lab → · Contrast checker → · Palette generator →

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