#BAAAF9#BAAAF9

#BAAAF9 is a light, moderate violet. Relative luminance 0.460; OKLCH L 78.1% C 0.112 H 292.9°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#BAAAF9
RGBrgb(186, 170, 249)
HSLhsl(252, 87%, 82%)
HSVhsv(252, 32%, 98%)
CMYKcmyk(25.3%, 31.7%, 0%, 2.4%)
CIE-LABlab(73.56, 22.15, -37.20)
CIE-LCHlch(73.56, 43.30, 300.77°)
OKLaboklab(78.07% 0.0436 -0.1031)
OKLCHoklch(78.07% 0.112 292.9)
XYZxyz(51.7192, 46.0274, 95.7635)
Luminance0.4603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAAF9 #E9F9AA
analogous
#AAC2F9 #BAAAF9 #E2AAF9
triadic
#BAAAF9 #F9BAAA #AAF9BA
tetradic
#BAAAF9 #F9AAC2 #E9F9AA #AAF9E2
square
#BAAAF9 #F9AAC2 #E9F9AA #AAF9E2
split-complementary
#BAAAF9 #F9E2AA #C2F9AA
monochromatic
#5D38F1 #8C71F5 #BAAAF9 #E8E2FD #E8E2FD

Accessibility & contrast

On white

2.06
#BAAAF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#BAAAF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAAF9
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAAF9#FFFFFF#000000##000000
##BAAAF91.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FC
Deuteranopia (green-blind)
#97B3F7
Tritanopia (blue-blind)
#ADB7C7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #baaaf9;
/* rgb */ color: rgb(186, 170, 249);
/* oklch */ color: oklch(78.1% 0.112 292.9);
Tailwind
colors: {
  custom: {
    50: '#d0c3fb',
    500: '#baaaf9',
    950: '#000000',
  },
}
SCSS
$custom: #baaaf9;
$custom-light: #d0c3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#baaaf9",
  "rgb": {
    "r": 186,
    "g": 170,
    "b": 249
  },
  "hsl": {
    "h": 252.152,
    "s": 86.813,
    "l": 82.157
  },
  "oklch": {
    "l": 0.78067,
    "c": 0.11193,
    "h": 292.9
  },
  "luminance": 0.46028
}

Semantic roles & 50–950 ramp

primary
#BAAAF9
secondary
#EFF5D6
accent
#E302B6
background
#FCFCFF
surface
#F9F8FF
border
#D2D1D7
text
#141217
muted
#828185

Preview Lab

Preview with #BAAAF9

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

Preview Lab → · Contrast checker → · Palette generator →

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