#BAA1EA#BAA1EA

#BAA1EA is a light, moderate violet. Relative luminance 0.419; OKLCH L 75.7% C 0.106 H 299.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BAA1EA
RGBrgb(186, 161, 234)
HSLhsl(261, 63%, 77%)
HSVhsv(261, 31%, 92%)
CMYKcmyk(20.5%, 31.2%, 0%, 8.2%)
CIE-LABlab(70.78, 23.68, -33.36)
CIE-LCHlch(70.78, 40.91, 305.37°)
OKLaboklab(75.74% 0.0523 -0.0921)
OKLCHoklch(75.74% 0.106 299.6)
XYZxyz(47.8426, 41.8692, 83.3870)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA1EA #D1EAA1
analogous
#A1ADEA #BAA1EA #DEA1EA
triadic
#BAA1EA #EABAA1 #A1EABA
tetradic
#BAA1EA #EAA1AD #D1EAA1 #A1EADE
square
#BAA1EA #EAA1AD #D1EAA1 #A1EADE
split-complementary
#BAA1EA #EADEA1 #ADEAA1
monochromatic
#713DD4 #956FDF #BAA1EA #DFD3F5 #EDE6F9

Accessibility & contrast

On white

2.24
#BAA1EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BAA1EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA1EA
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA1EA#FFFFFF#000000##000000
##BAA1EA1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91ADED
Deuteranopia (green-blind)
#95ADE8
Tritanopia (blue-blind)
#B1ACBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baa1ea;
/* rgb */ color: rgb(186, 161, 234);
/* oklch */ color: oklch(75.7% 0.106 299.6);
Tailwind
colors: {
  custom: {
    50: '#cfbdf1',
    500: '#baa1ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa1ea;
$custom-light: #cfbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa1ea",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 234
  },
  "hsl": {
    "h": 260.548,
    "s": 63.478,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75735,
    "c": 0.10589,
    "h": 299.6
  },
  "luminance": 0.41869
}

Semantic roles & 50–950 ramp

primary
#BAA1EA
secondary
#E9F1DA
accent
#CB1A8F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA1EA

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

Preview Lab → · Contrast checker → · Palette generator →

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