#BAA3EA#BAA3EA

#BAA3EA is a light, moderate violet. Relative luminance 0.426; OKLCH L 76.1% C 0.103 H 298.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#BAA3EA
RGBrgb(186, 163, 234)
HSLhsl(259, 63%, 78%)
HSVhsv(259, 30%, 92%)
CMYKcmyk(20.5%, 30.3%, 0%, 8.2%)
CIE-LABlab(71.26, 22.57, -32.61)
CIE-LCHlch(71.26, 39.66, 304.69°)
OKLaboklab(76.11% 0.0495 -0.0899)
OKLCHoklch(76.11% 0.103 298.8)
XYZxyz(48.1949, 42.5738, 83.5044)
Luminance0.4257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA3EA #D3EAA3
analogous
#A3AFEA #BAA3EA #DEA3EA
triadic
#BAA3EA #EABAA3 #A3EABA
tetradic
#BAA3EA #EAA3AF #D3EAA3 #A3EADE
square
#BAA3EA #EAA3AF #D3EAA3 #A3EADE
split-complementary
#BAA3EA #EADEA3 #AFEAA3
monochromatic
#6F3FD3 #9571DF #BAA3EA #DFD5F5 #ECE6F9

Accessibility & contrast

On white

2.21
#BAA3EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#BAA3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA3EA
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA3EA#FFFFFF#000000##000000
##BAA3EA1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AEED
Deuteranopia (green-blind)
#97AEE8
Tritanopia (blue-blind)
#B1AEBC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #baa3ea;
/* rgb */ color: rgb(186, 163, 234);
/* oklch */ color: oklch(76.1% 0.103 298.8);
Tailwind
colors: {
  custom: {
    50: '#cfbef1',
    500: '#baa3ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa3ea;
$custom-light: #cfbef1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa3ea",
  "rgb": {
    "r": 186,
    "g": 163,
    "b": 234
  },
  "hsl": {
    "h": 259.437,
    "s": 62.832,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76106,
    "c": 0.10267,
    "h": 298.8
  },
  "luminance": 0.42574
}

Semantic roles & 50–950 ramp

primary
#BAA3EA
secondary
#E9F1DA
accent
#CB1B92
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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