#BAA2FF#BAA2FF

#BAA2FF is a light, vivid violet. Relative luminance 0.435; OKLCH L 76.9% C 0.132 H 295.0°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#BAA2FF
RGBrgb(186, 162, 255)
HSLhsl(255, 100%, 82%)
HSVhsv(255, 36%, 100%)
CMYKcmyk(27.1%, 36.5%, 0%, 0%)
CIE-LABlab(71.89, 28.03, -43.05)
CIE-LCHlch(71.89, 51.37, 303.06°)
OKLaboklab(76.87% 0.0558 -0.1199)
OKLCHoklch(76.87% 0.132 295)
XYZxyz(51.2157, 43.4991, 100.2862)
Luminance0.4350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2FF #E7FFA2
analogous
#A2B9FF #BAA2FF #E9A2FF
triadic
#BAA2FF #FFBAA2 #A2FFBA
tetradic
#BAA2FF #FFA2B9 #E7FFA2 #A2FFE9
square
#BAA2FF #FFA2B9 #E7FFA2 #A2FFE9
split-complementary
#BAA2FF #FFE9A2 #B9FFA2
monochromatic
#5F28FF #8D65FF #BAA2FF #E7DFFF #E8E0FF

Accessibility & contrast

On white

2.16
#BAA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#BAA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2FF
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2FF#FFFFFF#000000##000000
##BAA2FF1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#8CAFFD
Tritanopia (blue-blind)
#ACB2C5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #baa2ff;
/* rgb */ color: rgb(186, 162, 255);
/* oklch */ color: oklch(76.9% 0.132 295.0);
Tailwind
colors: {
  custom: {
    50: '#d0bdff',
    500: '#baa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #baa2ff;
$custom-light: #d0bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2ff",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 255.484,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76872,
    "c": 0.13228,
    "h": 295
  },
  "luminance": 0.435
}

Semantic roles & 50–950 ramp

primary
#BAA2FF
secondary
#EEF7D4
accent
#E600AA
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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