#BAA7EB#BAA7EB

#BAA7EB is a light, moderate violet. Relative luminance 0.441; OKLCH L 76.9% C 0.098 H 296.9°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAA7EB
RGBrgb(186, 167, 235)
HSLhsl(257, 63%, 79%)
HSVhsv(257, 29%, 92%)
CMYKcmyk(20.9%, 28.9%, 0%, 7.8%)
CIE-LABlab(72.28, 20.57, -31.59)
CIE-LCHlch(72.28, 37.70, 303.07°)
OKLaboklab(76.9% 0.0441 -0.0871)
OKLCHoklch(76.9% 0.098 296.9)
XYZxyz(49.0605, 44.0744, 84.5037)
Luminance0.4407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA7EB #D8EBA7
analogous
#A7B6EB #BAA7EB #DCA7EB
triadic
#BAA7EB #EBBAA7 #A7EBBA
tetradic
#BAA7EB #EBA7B6 #D8EBA7 #A7EBDC
square
#BAA7EB #EBA7B6 #D8EBA7 #A7EBDC
split-complementary
#BAA7EB #EBDCA7 #B6EBA7
monochromatic
#6C43D4 #9375E0 #BAA7EB #E1D9F6 #EBE6F9

Accessibility & contrast

On white

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

On black

9.82
#BAA7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA7EB
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA7EB#FFFFFF#000000##000000
##BAA7EB1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B2EE
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#B1B2BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #baa7eb;
/* rgb */ color: rgb(186, 167, 235);
/* oklch */ color: oklch(76.9% 0.098 296.9);
Tailwind
colors: {
  custom: {
    50: '#cfc1f1',
    500: '#baa7eb',
    950: '#000000',
  },
}
SCSS
$custom: #baa7eb;
$custom-light: #cfc1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa7eb",
  "rgb": {
    "r": 186,
    "g": 167,
    "b": 235
  },
  "hsl": {
    "h": 256.765,
    "s": 62.963,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76897,
    "c": 0.0976,
    "h": 296.9
  },
  "luminance": 0.44075
}

Semantic roles & 50–950 ramp

primary
#BAA7EB
secondary
#EAF1DA
accent
#CB1B9A
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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