#BAA7EA#BAA7EA

#BAA7EA is a light, moderate violet. Relative luminance 0.440; OKLCH L 76.9% C 0.096 H 297.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#BAA7EA
RGBrgb(186, 167, 234)
HSLhsl(257, 61%, 79%)
HSVhsv(257, 29%, 92%)
CMYKcmyk(20.5%, 28.6%, 0%, 8.2%)
CIE-LABlab(72.24, 20.35, -31.11)
CIE-LCHlch(72.24, 37.17, 303.19°)
OKLaboklab(76.85% 0.0438 -0.0857)
OKLCHoklch(76.85% 0.096 297.1)
XYZxyz(48.9164, 44.0167, 83.7449)
Luminance0.4402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA7EA #D7EAA7
analogous
#A7B5EA #BAA7EA #DBA7EA
triadic
#BAA7EA #EABAA7 #A7EABA
tetradic
#BAA7EA #EAA7B5 #D7EAA7 #A7EADB
square
#BAA7EA #EAA7B5 #D7EAA7 #A7EADB
split-complementary
#BAA7EA #EADBA7 #B5EAA7
monochromatic
#6D44D2 #9376DE #BAA7EA #E1D8F6 #ECE6F9

Accessibility & contrast

On white

2.14
#BAA7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#BAA7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA7EA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA7EA#FFFFFF#000000##000000
##BAA7EA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B1ED
Deuteranopia (green-blind)
#9AB0E8
Tritanopia (blue-blind)
#B1B2BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #baa7ea;
/* rgb */ color: rgb(186, 167, 234);
/* oklch */ color: oklch(76.9% 0.096 297.1);
Tailwind
colors: {
  custom: {
    50: '#cfc1f1',
    500: '#baa7ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa7ea;
$custom-light: #cfc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa7ea",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 234
  },
  "hsl": {
    "h": 257.015,
    "s": 61.468,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76855,
    "c": 0.09624,
    "h": 297.1
  },
  "luminance": 0.44017
}

Semantic roles & 50–950 ramp

primary
#BAA7EA
secondary
#EAF0DB
accent
#C91C98
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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