#BAA1F9#BAA1F9

#BAA1F9 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.4% C 0.126 H 296.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#BAA1F9
RGBrgb(186, 161, 249)
HSLhsl(257, 88%, 80%)
HSVhsv(257, 35%, 98%)
CMYKcmyk(25.3%, 35.3%, 0%, 2.4%)
CIE-LABlab(71.40, 27.16, -40.57)
CIE-LCHlch(71.40, 48.82, 303.79°)
OKLaboklab(76.41% 0.0559 -0.1128)
OKLCHoklch(76.41% 0.126 296.4)
XYZxyz(50.0894, 42.7679, 95.2203)
Luminance0.4277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA1F9 #E0F9A1
analogous
#A1B4F9 #BAA1F9 #E6A1F9
triadic
#BAA1F9 #F9BAA1 #A1F9BA
tetradic
#BAA1F9 #F9A1B4 #E0F9A1 #A1F9E6
square
#BAA1F9 #F9A1B4 #E0F9A1 #A1F9E6
split-complementary
#BAA1F9 #F9E6A1 #B4F9A1
monochromatic
#662EF2 #9067F5 #BAA1F9 #E4DBFD #EAE2FD

Accessibility & contrast

On white

2.20
#BAA1F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#BAA1F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA1F9
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA1F9#FFFFFF#000000##000000
##BAA1F91.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAFFC
Deuteranopia (green-blind)
#8EAEF7
Tritanopia (blue-blind)
#ADB0C2
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #baa1f9;
/* rgb */ color: rgb(186, 161, 249);
/* oklch */ color: oklch(76.4% 0.126 296.4);
Tailwind
colors: {
  custom: {
    50: '#d0bdfb',
    500: '#baa1f9',
    950: '#000000',
  },
}
SCSS
$custom: #baa1f9;
$custom-light: #d0bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#baa1f9",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 249
  },
  "hsl": {
    "h": 257.045,
    "s": 88,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76409,
    "c": 0.12586,
    "h": 296.4
  },
  "luminance": 0.42768
}

Semantic roles & 50–950 ramp

primary
#BAA1F9
secondary
#ECF5D6
accent
#E501A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA1F9

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

Preview Lab → · Contrast checker → · Palette generator →

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