#BAA2FE#BAA2FE

#BAA2FE is a light, vivid violet. Relative luminance 0.434; OKLCH L 76.8% C 0.131 H 295.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#BAA2FE
RGBrgb(186, 162, 254)
HSLhsl(256, 98%, 82%)
HSVhsv(256, 36%, 100%)
CMYKcmyk(26.8%, 36.2%, 0%, 0.4%)
CIE-LABlab(71.85, 27.79, -42.58)
CIE-LCHlch(71.85, 50.84, 303.13°)
OKLaboklab(76.82% 0.0556 -0.1185)
OKLCHoklch(76.82% 0.131 295.1)
XYZxyz(51.0551, 43.4349, 99.4407)
Luminance0.4344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2FE #E6FEA2
analogous
#A2B8FE #BAA2FE #E8A2FE
triadic
#BAA2FE #FEBAA2 #A2FEBA
tetradic
#BAA2FE #FEA2B8 #E6FEA2 #A2FEE8
square
#BAA2FE #FEA2B8 #E6FEA2 #A2FEE8
split-complementary
#BAA2FE #FEE8A2 #B8FEA2
monochromatic
#6029FD #8D65FD #BAA2FE #E7DFFF #E9E1FF

Accessibility & contrast

On white

2.17
#BAA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#BAA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2FE
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2FE#FFFFFF#000000##000000
##BAA2FE1.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa2fe;
/* rgb */ color: rgb(186, 162, 254);
/* oklch */ color: oklch(76.8% 0.131 295.1);
Tailwind
colors: {
  custom: {
    50: '#d0bdff',
    500: '#baa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #baa2fe;
$custom-light: #d0bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2fe",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 255.652,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.13095,
    "h": 295.1
  },
  "luminance": 0.43436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BAA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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