#BAA6EC#BAA6EC

#BAA6EC is a light, moderate violet. Relative luminance 0.438; OKLCH L 76.8% C 0.101 H 297.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#BAA6EC
RGBrgb(186, 166, 236)
HSLhsl(257, 65%, 79%)
HSVhsv(257, 30%, 93%)
CMYKcmyk(21.2%, 29.7%, 0%, 7.5%)
CIE-LABlab(72.07, 21.36, -32.45)
CIE-LCHlch(72.07, 38.85, 303.35°)
OKLaboklab(76.75% 0.0458 -0.0895)
OKLCHoklch(76.75% 0.101 297.1)
XYZxyz(49.0229, 43.7673, 85.2058)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA6EC #D8ECA6
analogous
#A6B5EC #BAA6EC #DDA6EC
triadic
#BAA6EC #ECBAA6 #A6ECBA
tetradic
#BAA6EC #ECA6B5 #D8ECA6 #A6ECDD
square
#BAA6EC #ECA6B5 #D8ECA6 #A6ECDD
split-complementary
#BAA6EC #ECDDA6 #B5ECA6
monochromatic
#6C41D6 #9374E1 #BAA6EC #E1D8F7 #EBE6FA

Accessibility & contrast

On white

2.15
#BAA6EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#BAA6EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA6EC
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA6EC#FFFFFF#000000##000000
##BAA6EC1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B1EF
Deuteranopia (green-blind)
#99B0EA
Tritanopia (blue-blind)
#B1B1BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #baa6ec;
/* rgb */ color: rgb(186, 166, 236);
/* oklch */ color: oklch(76.8% 0.101 297.1);
Tailwind
colors: {
  custom: {
    50: '#cfc0f2',
    500: '#baa6ec',
    950: '#000000',
  },
}
SCSS
$custom: #baa6ec;
$custom-light: #cfc0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#baa6ec",
  "rgb": {
    "r": 186,
    "g": 166,
    "b": 236
  },
  "hsl": {
    "h": 257.143,
    "s": 64.815,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76752,
    "c": 0.10054,
    "h": 297.1
  },
  "luminance": 0.43768
}

Semantic roles & 50–950 ramp

primary
#BAA6EC
secondary
#EAF1DA
accent
#CD1999
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA6EC

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

Preview Lab → · Contrast checker → · Palette generator →

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