#BAA4EA#BAA4EA

#BAA4EA is a light, moderate violet. Relative luminance 0.429; OKLCH L 76.3% C 0.101 H 298.4°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#BAA4EA
RGBrgb(186, 164, 234)
HSLhsl(259, 63%, 78%)
HSVhsv(259, 30%, 92%)
CMYKcmyk(20.5%, 29.9%, 0%, 8.2%)
CIE-LABlab(71.51, 22.01, -32.24)
CIE-LCHlch(71.51, 39.04, 304.33°)
OKLaboklab(76.29% 0.0481 -0.0889)
OKLCHoklch(76.29% 0.101 298.4)
XYZxyz(48.3732, 42.9303, 83.5639)
Luminance0.4293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA4EA #D4EAA4
analogous
#A4B1EA #BAA4EA #DDA4EA
triadic
#BAA4EA #EABAA4 #A4EABA
tetradic
#BAA4EA #EAA4B1 #D4EAA4 #A4EADD
square
#BAA4EA #EAA4B1 #D4EAA4 #A4EADD
split-complementary
#BAA4EA #EADDA4 #B1EAA4
monochromatic
#6F41D3 #9472DF #BAA4EA #E0D6F5 #ECE6F9

Accessibility & contrast

On white

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

On black

9.59
#BAA4EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA4EA
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA4EA#FFFFFF#000000##000000
##BAA4EA1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94AFED
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#B1AFBD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #baa4ea;
/* rgb */ color: rgb(186, 164, 234);
/* oklch */ color: oklch(76.3% 0.101 298.4);
Tailwind
colors: {
  custom: {
    50: '#cfbff1',
    500: '#baa4ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa4ea;
$custom-light: #cfbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa4ea",
  "rgb": {
    "r": 186,
    "g": 164,
    "b": 234
  },
  "hsl": {
    "h": 258.857,
    "s": 62.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76293,
    "c": 0.10105,
    "h": 298.4
  },
  "luminance": 0.42931
}

Semantic roles & 50–950 ramp

primary
#BAA4EA
secondary
#EAF1DA
accent
#CA1B93
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA4EA

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

Preview Lab → · Contrast checker → · Palette generator →

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