#BAA7FA#BAA7FA

#BAA7FA is a light, moderate violet. Relative luminance 0.450; OKLCH L 77.6% C 0.118 H 294.0°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#BAA7FA
RGBrgb(186, 167, 250)
HSLhsl(254, 89%, 82%)
HSVhsv(254, 33%, 98%)
CMYKcmyk(25.6%, 33.2%, 0%, 2%)
CIE-LABlab(72.88, 24.06, -38.81)
CIE-LCHlch(72.88, 45.66, 301.79°)
OKLaboklab(77.55% 0.0479 -0.1077)
OKLCHoklch(77.55% 0.118 294)
XYZxyz(51.3196, 44.9780, 96.4018)
Luminance0.4498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA7FA #E7FAA7
analogous
#A7BEFA #BAA7FA #E4A7FA
triadic
#BAA7FA #FABAA7 #A7FABA
tetradic
#BAA7FA #FAA7BE #E7FAA7 #A7FAE4
square
#BAA7FA #FAA7BE #E7FAA7 #A7FAE4
split-complementary
#BAA7FA #FAE4A7 #BEFAA7
monochromatic
#5F33F3 #8D6DF7 #BAA7FA #E7E1FD #E8E2FD

Accessibility & contrast

On white

2.10
#BAA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#BAA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA7FA
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA7FA#FFFFFF#000000##000000
##BAA7FA1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#ADB5C5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #baa7fa;
/* rgb */ color: rgb(186, 167, 250);
/* oklch */ color: oklch(77.6% 0.118 294.0);
Tailwind
colors: {
  custom: {
    50: '#d0c1fc',
    500: '#baa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #baa7fa;
$custom-light: #d0c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#baa7fa",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 253.735,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.77555,
    "c": 0.11789,
    "h": 294
  },
  "luminance": 0.44979
}

Semantic roles & 50–950 ramp

primary
#BAA7FA
secondary
#EEF5D6
accent
#E600B1
background
#FCFBFF
surface
#F9F7FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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