#BAA2EA#BAA2EA

#BAA2EA is a light, moderate violet. Relative luminance 0.422; OKLCH L 75.9% C 0.104 H 299.2°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#BAA2EA
RGBrgb(186, 162, 234)
HSLhsl(260, 63%, 78%)
HSVhsv(260, 31%, 92%)
CMYKcmyk(20.5%, 30.8%, 0%, 8.2%)
CIE-LABlab(71.02, 23.13, -32.99)
CIE-LCHlch(71.02, 40.29, 305.03°)
OKLaboklab(75.92% 0.0509 -0.091)
OKLCHoklch(75.92% 0.104 299.2)
XYZxyz(48.0181, 42.2201, 83.4455)
Luminance0.4222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2EA #D2EAA2
analogous
#A2AEEA #BAA2EA #DEA2EA
triadic
#BAA2EA #EABAA2 #A2EABA
tetradic
#BAA2EA #EAA2AE #D2EAA2 #A2EADE
square
#BAA2EA #EAA2AE #D2EAA2 #A2EADE
split-complementary
#BAA2EA #EADEA2 #AEEAA2
monochromatic
#703ED3 #9570DF #BAA2EA #DFD4F5 #ECE6F9

Accessibility & contrast

On white

2.22
#BAA2EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#BAA2EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2EA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2EA#FFFFFF#000000##000000
##BAA2EA1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEED
Deuteranopia (green-blind)
#96ADE8
Tritanopia (blue-blind)
#B1ADBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #baa2ea;
/* rgb */ color: rgb(186, 162, 234);
/* oklch */ color: oklch(75.9% 0.104 299.2);
Tailwind
colors: {
  custom: {
    50: '#cfbdf1',
    500: '#baa2ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa2ea;
$custom-light: #cfbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2ea",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 234
  },
  "hsl": {
    "h": 260,
    "s": 63.158,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7592,
    "c": 0.10428,
    "h": 299.2
  },
  "luminance": 0.4222
}

Semantic roles & 50–950 ramp

primary
#BAA2EA
secondary
#E9F1DA
accent
#CB1B90
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA2EA

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

Preview Lab → · Contrast checker → · Palette generator →

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