#BAA5FF#BAA5FF

#BAA5FF is a light, vivid violet. Relative luminance 0.446; OKLCH L 77.4% C 0.128 H 293.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#BAA5FF
RGBrgb(186, 165, 255)
HSLhsl(254, 100%, 82%)
HSVhsv(254, 35%, 100%)
CMYKcmyk(27.1%, 35.3%, 0%, 0%)
CIE-LABlab(72.61, 26.36, -41.94)
CIE-LCHlch(72.61, 49.53, 302.15°)
OKLaboklab(77.42% 0.0518 -0.1167)
OKLCHoklch(77.42% 0.128 293.9)
XYZxyz(51.7505, 44.5687, 100.4645)
Luminance0.4457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA5FF #EAFFA5
analogous
#A5BDFF #BAA5FF #E7A5FF
triadic
#BAA5FF #FFBAA5 #A5FFBA
tetradic
#BAA5FF #FFA5BD #EAFFA5 #A5FFE7
square
#BAA5FF #FFA5BD #EAFFA5 #A5FFE7
split-complementary
#BAA5FF #FFE7A5 #BDFFA5
monochromatic
#5C2BFF #8B68FF #BAA5FF #E8E0FF #E8E0FF

Accessibility & contrast

On white

2.12
#BAA5FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#BAA5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA5FF
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA5FF#FFFFFF#000000##000000
##BAA5FF1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#8FB1FD
Tritanopia (blue-blind)
#ABB5C6
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #baa5ff;
/* rgb */ color: rgb(186, 165, 255);
/* oklch */ color: oklch(77.4% 0.128 293.9);
Tailwind
colors: {
  custom: {
    50: '#d0bfff',
    500: '#baa5ff',
    950: '#000000',
  },
}
SCSS
$custom: #baa5ff;
$custom-light: #d0bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#baa5ff",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 254,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.77417,
    "c": 0.12767,
    "h": 293.9
  },
  "luminance": 0.44569
}

Semantic roles & 50–950 ramp

primary
#BAA5FF
secondary
#EFF7D4
accent
#E600B0
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141218
muted
#828186

Preview Lab

Preview with #BAA5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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