#BAA6FA#BAA6FA

#BAA6FA is a light, moderate violet. Relative luminance 0.446; OKLCH L 77.4% C 0.119 H 294.4°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#BAA6FA
RGBrgb(186, 166, 250)
HSLhsl(254, 89%, 82%)
HSVhsv(254, 34%, 98%)
CMYKcmyk(25.6%, 33.6%, 0%, 2%)
CIE-LABlab(72.64, 24.61, -39.18)
CIE-LCHlch(72.64, 46.27, 302.13°)
OKLaboklab(77.37% 0.0493 -0.1088)
OKLCHoklch(77.37% 0.119 294.4)
XYZxyz(51.1371, 44.6130, 96.3410)
Luminance0.4461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA6FA #E6FAA6
analogous
#A6BCFA #BAA6FA #E4A6FA
triadic
#BAA6FA #FABAA6 #A6FABA
tetradic
#BAA6FA #FAA6BC #E6FAA6 #A6FAE4
square
#BAA6FA #FAA6BC #E6FAA6 #A6FAE4
split-complementary
#BAA6FA #FAE4A6 #BCFAA6
monochromatic
#6032F3 #8D6CF7 #BAA6FA #E7E0FD #E9E2FD

Accessibility & contrast

On white

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

On black

9.92
#BAA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA6FA
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA6FA#FFFFFF#000000##000000
##BAA6FA1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#93B1F8
Tritanopia (blue-blind)
#ADB4C5
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #baa6fa;
/* rgb */ color: rgb(186, 166, 250);
/* oklch */ color: oklch(77.4% 0.119 294.4);
Tailwind
colors: {
  custom: {
    50: '#d0c0fc',
    500: '#baa6fa',
    950: '#000000',
  },
}
SCSS
$custom: #baa6fa;
$custom-light: #d0c0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#baa6fa",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 254.286,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.7737,
    "c": 0.11943,
    "h": 294.4
  },
  "luminance": 0.44614
}

Semantic roles & 50–950 ramp

primary
#BAA6FA
secondary
#EEF5D6
accent
#E600AF
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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