#BAA2EE#BAA2EE

#BAA2EE is a light, moderate violet. Relative luminance 0.425; OKLCH L 76.1% C 0.110 H 298.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#BAA2EE
RGBrgb(186, 162, 238)
HSLhsl(259, 69%, 78%)
HSVhsv(259, 32%, 93%)
CMYKcmyk(21.8%, 31.9%, 0%, 6.7%)
CIE-LABlab(71.18, 24.04, -34.92)
CIE-LCHlch(71.18, 42.40, 304.54°)
OKLaboklab(76.1% 0.0519 -0.0965)
OKLCHoklch(76.1% 0.11 298.3)
XYZxyz(48.5992, 42.4525, 86.5061)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2EE #D6EEA2
analogous
#A2B0EE #BAA2EE #E0A2EE
triadic
#BAA2EE #EEBAA2 #A2EEBA
tetradic
#BAA2EE #EEA2B0 #D6EEA2 #A2EEE0
square
#BAA2EE #EEA2B0 #D6EEA2 #A2EEE0
split-complementary
#BAA2EE #EEE0A2 #B0EEA2
monochromatic
#6D3BDB #946EE5 #BAA2EE #E0D6F7 #ECE5FA

Accessibility & contrast

On white

2.21
#BAA2EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#BAA2EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2EE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2EE#FFFFFF#000000##000000
##BAA2EE1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF1
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#B0AEBE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #baa2ee;
/* rgb */ color: rgb(186, 162, 238);
/* oklch */ color: oklch(76.1% 0.110 298.3);
Tailwind
colors: {
  custom: {
    50: '#d0bdf3',
    500: '#baa2ee',
    950: '#000000',
  },
}
SCSS
$custom: #baa2ee;
$custom-light: #d0bdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2ee",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 238
  },
  "hsl": {
    "h": 258.947,
    "s": 69.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76095,
    "c": 0.10962,
    "h": 298.3
  },
  "luminance": 0.42453
}

Semantic roles & 50–950 ramp

primary
#BAA2EE
secondary
#EAF2D9
accent
#D11495
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA2EE

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

Preview Lab → · Contrast checker → · Palette generator →

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