#BAA4EC#BAA4EC

#BAA4EC is a light, moderate violet. Relative luminance 0.430; OKLCH L 76.4% C 0.104 H 297.9°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BAA4EC
RGBrgb(186, 164, 236)
HSLhsl(258, 65%, 78%)
HSVhsv(258, 31%, 93%)
CMYKcmyk(21.2%, 30.5%, 0%, 7.5%)
CIE-LABlab(71.59, 22.47, -33.21)
CIE-LCHlch(71.59, 40.09, 304.08°)
OKLaboklab(76.38% 0.0486 -0.0916)
OKLCHoklch(76.38% 0.104 297.9)
XYZxyz(48.6621, 43.0459, 85.0856)
Luminance0.4305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA4EC #D6ECA4
analogous
#A4B2EC #BAA4EC #DEA4EC
triadic
#BAA4EC #ECBAA4 #A4ECBA
tetradic
#BAA4EC #ECA4B2 #D6ECA4 #A4ECDE
square
#BAA4EC #ECA4B2 #D6ECA4 #A4ECDE
split-complementary
#BAA4EC #ECDEA4 #B2ECA4
monochromatic
#6D3FD7 #9471E1 #BAA4EC #E0D7F7 #ECE6FA

Accessibility & contrast

On white

2.19
#BAA4EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BAA4EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA4EC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA4EC#FFFFFF#000000##000000
##BAA4EC1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEF
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#B1AFBE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #baa4ec;
/* rgb */ color: rgb(186, 164, 236);
/* oklch */ color: oklch(76.4% 0.104 297.9);
Tailwind
colors: {
  custom: {
    50: '#cfbff2',
    500: '#baa4ec',
    950: '#000000',
  },
}
SCSS
$custom: #baa4ec;
$custom-light: #cfbff2;
$custom-dark: #000000;
JSON
{
  "hex": "#baa4ec",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 236
  },
  "hsl": {
    "h": 258.333,
    "s": 65.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76379,
    "c": 0.10374,
    "h": 297.9
  },
  "luminance": 0.43046
}

Semantic roles & 50–950 ramp

primary
#BAA4EC
secondary
#EAF1DA
accent
#CD1896
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA4EC

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

Preview Lab → · Contrast checker → · Palette generator →

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