#BAA2EB#BAA2EB

#BAA2EB is a light, moderate violet. Relative luminance 0.423; OKLCH L 76.0% C 0.106 H 299.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#BAA2EB
RGBrgb(186, 162, 235)
HSLhsl(260, 65%, 78%)
HSVhsv(260, 31%, 92%)
CMYKcmyk(20.9%, 31.1%, 0%, 7.8%)
CIE-LABlab(71.06, 23.35, -33.47)
CIE-LCHlch(71.06, 40.81, 304.90°)
OKLaboklab(75.96% 0.0512 -0.0924)
OKLCHoklch(75.96% 0.106 299)
XYZxyz(48.1621, 42.2777, 84.2042)
Luminance0.4228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2EB #D3EBA2
analogous
#A2AEEB #BAA2EB #DEA2EB
triadic
#BAA2EB #EBBAA2 #A2EBBA
tetradic
#BAA2EB #EBA2AE #D3EBA2 #A2EBDE
square
#BAA2EB #EBA2AE #D3EBA2 #A2EBDE
split-complementary
#BAA2EB #EBDEA2 #AEEBA2
monochromatic
#6F3DD5 #9570E0 #BAA2EB #DFD4F6 #ECE6FA

Accessibility & contrast

On white

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

On black

9.46
#BAA2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2EB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2EB#FFFFFF#000000##000000
##BAA2EB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEE
Deuteranopia (green-blind)
#95ADE9
Tritanopia (blue-blind)
#B1ADBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #baa2eb;
/* rgb */ color: rgb(186, 162, 235);
/* oklch */ color: oklch(76.0% 0.106 299.0);
Tailwind
colors: {
  custom: {
    50: '#cfbdf1',
    500: '#baa2eb',
    950: '#000000',
  },
}
SCSS
$custom: #baa2eb;
$custom-light: #cfbdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2eb",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 259.726,
    "s": 64.602,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75964,
    "c": 0.10562,
    "h": 299
  },
  "luminance": 0.42278
}

Semantic roles & 50–950 ramp

primary
#BAA2EB
secondary
#E9F1DA
accent
#CC1991
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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