#BAA2FA#BAA2FA

#BAA2FA is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.6% C 0.126 H 295.8°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#BAA2FA
RGBrgb(186, 162, 250)
HSLhsl(256, 90%, 81%)
HSVhsv(256, 35%, 98%)
CMYKcmyk(25.6%, 35.2%, 0%, 2%)
CIE-LABlab(71.68, 26.84, -40.68)
CIE-LCHlch(71.68, 48.73, 303.41°)
OKLaboklab(76.64% 0.0548 -0.1131)
OKLCHoklch(76.64% 0.126 295.8)
XYZxyz(50.4213, 43.1814, 96.1024)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA2FA #E2FAA2
analogous
#A2B6FA #BAA2FA #E6A2FA
triadic
#BAA2FA #FABAA2 #A2FABA
tetradic
#BAA2FA #FAA2B6 #E2FAA2 #A2FAE6
square
#BAA2FA #FAA2B6 #E2FAA2 #A2FAE6
split-complementary
#BAA2FA #FAE6A2 #B6FAA2
monochromatic
#642EF4 #8F68F7 #BAA2FA #E5DCFD #E9E2FD

Accessibility & contrast

On white

2.18
#BAA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#BAA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA2FA
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA2FA#FFFFFF#000000##000000
##BAA2FA1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#8FAEF8
Tritanopia (blue-blind)
#ADB1C3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #baa2fa;
/* rgb */ color: rgb(186, 162, 250);
/* oklch */ color: oklch(76.6% 0.126 295.8);
Tailwind
colors: {
  custom: {
    50: '#d0bdfc',
    500: '#baa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #baa2fa;
$custom-light: #d0bdfc;
$custom-dark: #000000;
JSON
{
  "hex": "#baa2fa",
  "rgb": {
    "r": 186,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 256.364,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76638,
    "c": 0.12563,
    "h": 295.8
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#BAA2FA
secondary
#EDF6D5
accent
#E600A7
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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