#BAA2EF#BAA2EF

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

Color values

HEX#BAA2EF
RGBrgb(186, 162, 239)
HSLhsl(259, 71%, 79%)
HSVhsv(259, 32%, 94%)
CMYKcmyk(22.2%, 32.2%, 0%, 6.3%)
CIE-LABlab(71.22, 24.27, -35.41)
CIE-LCHlch(71.22, 42.92, 304.43°)
OKLaboklab(76.14% 0.0522 -0.0979)
OKLCHoklch(76.14% 0.111 298)
XYZxyz(48.7465, 42.5115, 87.2820)
Luminance0.4251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2EF #D7EFA2
analogous
#A2B0EF #BAA2EF #E0A2EF
triadic
#BAA2EF #EFBAA2 #A2EFBA
tetradic
#BAA2EF #EFA2B0 #D7EFA2 #A2EFE0
square
#BAA2EF #EFA2B0 #D7EFA2 #A2EFE0
split-complementary
#BAA2EF #EFE0A2 #B0EFA2
monochromatic
#6D3ADD #936EE6 #BAA2EF #E1D6F8 #ECE5FB

Accessibility & contrast

On white

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

On black

9.50
#BAA2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2EF
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2EF#FFFFFF#000000##000000
##BAA2EF1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa2ef;
/* rgb */ color: rgb(186, 162, 239);
/* oklch */ color: oklch(76.1% 0.111 298.0);
Tailwind
colors: {
  custom: {
    50: '#d0bdf4',
    500: '#baa2ef',
    950: '#000000',
  },
}
SCSS
$custom: #baa2ef;
$custom-light: #d0bdf4;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2ef",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 239
  },
  "hsl": {
    "h": 258.701,
    "s": 70.642,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76139,
    "c": 0.11095,
    "h": 298
  },
  "luminance": 0.42512
}

Semantic roles & 50–950 ramp

primary
#BAA2EF
secondary
#EAF2D9
accent
#D31397
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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