#BAA5F9#BAA5F9

#BAA5F9 is a light, moderate violet. Relative luminance 0.442; OKLCH L 77.1% C 0.120 H 294.9°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#BAA5F9
RGBrgb(186, 165, 249)
HSLhsl(255, 88%, 81%)
HSVhsv(255, 34%, 98%)
CMYKcmyk(25.3%, 33.7%, 0%, 2.4%)
CIE-LABlab(72.35, 24.93, -39.08)
CIE-LCHlch(72.35, 46.36, 302.53°)
OKLaboklab(77.14% 0.0504 -0.1085)
OKLCHoklch(77.14% 0.12 294.9)
XYZxyz(50.7997, 44.1883, 95.4570)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA5F9 #E4F9A5
analogous
#A5BAF9 #BAA5F9 #E4A5F9
triadic
#BAA5F9 #F9BAA5 #A5F9BA
tetradic
#BAA5F9 #F9A5BA #E4F9A5 #A5F9E4
square
#BAA5F9 #F9A5BA #E4F9A5 #A5F9E4
split-complementary
#BAA5F9 #F9E4A5 #BAF9A5
monochromatic
#6232F1 #8E6CF5 #BAA5F9 #E6DEFD #E9E2FD

Accessibility & contrast

On white

2.13
#BAA5F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#BAA5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA5F9
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA5F9#FFFFFF#000000##000000
##BAA5F91.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FC
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#ADB3C4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #baa5f9;
/* rgb */ color: rgb(186, 165, 249);
/* oklch */ color: oklch(77.1% 0.120 294.9);
Tailwind
colors: {
  custom: {
    50: '#d0bffb',
    500: '#baa5f9',
    950: '#000000',
  },
}
SCSS
$custom: #baa5f9;
$custom-light: #d0bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#baa5f9",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 255,
    "s": 87.5,
    "l": 81.176
  },
  "oklch": {
    "l": 0.77141,
    "c": 0.11962,
    "h": 294.9
  },
  "luminance": 0.44189
}

Semantic roles & 50–950 ramp

primary
#BAA5F9
secondary
#EDF5D6
accent
#E401AB
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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