#BAA8EA#BAA8EA

#BAA8EA is a light, moderate violet. Relative luminance 0.444; OKLCH L 77.0% C 0.095 H 296.6°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#BAA8EA
RGBrgb(186, 168, 234)
HSLhsl(256, 61%, 79%)
HSVhsv(256, 28%, 92%)
CMYKcmyk(20.5%, 28.2%, 0%, 8.2%)
CIE-LABlab(72.48, 19.79, -30.73)
CIE-LCHlch(72.48, 36.55, 302.79°)
OKLaboklab(77.04% 0.0424 -0.0846)
OKLCHoklch(77.04% 0.095 296.6)
XYZxyz(49.1003, 44.3845, 83.8062)
Luminance0.4439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA8EA #D8EAA8
analogous
#A8B7EA #BAA8EA #DBA8EA
triadic
#BAA8EA #EABAA8 #A8EABA
tetradic
#BAA8EA #EAA8B7 #D8EAA8 #A8EADB
square
#BAA8EA #EAA8B7 #D8EAA8 #A8EADB
split-complementary
#BAA8EA #EADBA8 #B7EAA8
monochromatic
#6C45D2 #9377DE #BAA8EA #E1D9F6 #EBE6F9

Accessibility & contrast

On white

2.13
#BAA8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#BAA8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA8EA
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA8EA#FFFFFF#000000##000000
##BAA8EA1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B2ED
Deuteranopia (green-blind)
#9BB1E8
Tritanopia (blue-blind)
#B1B2BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #baa8ea;
/* rgb */ color: rgb(186, 168, 234);
/* oklch */ color: oklch(77.0% 0.095 296.6);
Tailwind
colors: {
  custom: {
    50: '#cfc2f1',
    500: '#baa8ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa8ea;
$custom-light: #cfc2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa8ea",
  "rgb": {
    "r": 186,
    "g": 168,
    "b": 234
  },
  "hsl": {
    "h": 256.364,
    "s": 61.111,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77044,
    "c": 0.09465,
    "h": 296.6
  },
  "luminance": 0.44385
}

Semantic roles & 50–950 ramp

primary
#BAA8EA
secondary
#EAF0DB
accent
#C91D9A
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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