#BAA1FA#BAA1FA

#BAA1FA is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.5% C 0.127 H 296.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#BAA1FA
RGBrgb(186, 161, 250)
HSLhsl(257, 90%, 81%)
HSVhsv(257, 36%, 98%)
CMYKcmyk(25.6%, 35.6%, 0%, 2%)
CIE-LABlab(71.44, 27.39, -41.05)
CIE-LCHlch(71.44, 49.35, 303.71°)
OKLaboklab(76.46% 0.0561 -0.1141)
OKLCHoklch(76.46% 0.127 296.2)
XYZxyz(50.2458, 42.8305, 96.0439)
Luminance0.4283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA1FA #E1FAA1
analogous
#A1B4FA #BAA1FA #E6A1FA
triadic
#BAA1FA #FABAA1 #A1FABA
tetradic
#BAA1FA #FAA1B4 #E1FAA1 #A1FAE6
square
#BAA1FA #FAA1B4 #E1FAA1 #A1FAE6
split-complementary
#BAA1FA #FAE6A1 #B4FAA1
monochromatic
#652DF4 #8F67F7 #BAA1FA #E5DBFD #EAE2FD

Accessibility & contrast

On white

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

On black

9.57
#BAA1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA1FA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA1FA#FFFFFF#000000##000000
##BAA1FA1.002.209.579.57
#FFFFFF2.201.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #baa1fa;
/* rgb */ color: rgb(186, 161, 250);
/* oklch */ color: oklch(76.5% 0.127 296.2);
Tailwind
colors: {
  custom: {
    50: '#d0bdfc',
    500: '#baa1fa',
    950: '#000000',
  },
}
SCSS
$custom: #baa1fa;
$custom-light: #d0bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#baa1fa",
  "rgb": {
    "r": 186,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 256.854,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76456,
    "c": 0.12719,
    "h": 296.2
  },
  "luminance": 0.42831
}

Semantic roles & 50–950 ramp

primary
#BAA1FA
secondary
#EDF6D5
accent
#E600A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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