#BAA5EA#BAA5EA

#BAA5EA is a light, moderate violet. Relative luminance 0.433; OKLCH L 76.5% C 0.099 H 298.0°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#BAA5EA
RGBrgb(186, 165, 234)
HSLhsl(258, 62%, 78%)
HSVhsv(258, 29%, 92%)
CMYKcmyk(20.5%, 29.5%, 0%, 8.2%)
CIE-LABlab(71.75, 21.46, -31.86)
CIE-LCHlch(71.75, 38.41, 303.96°)
OKLaboklab(76.48% 0.0467 -0.0878)
OKLCHoklch(76.48% 0.099 298)
XYZxyz(48.5528, 43.2896, 83.6237)
Luminance0.4329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA5EA #D5EAA5
analogous
#A5B2EA #BAA5EA #DCA5EA
triadic
#BAA5EA #EABAA5 #A5EABA
tetradic
#BAA5EA #EAA5B2 #D5EAA5 #A5EADC
square
#BAA5EA #EAA5B2 #D5EAA5 #A5EADC
split-complementary
#BAA5EA #EADCA5 #B2EAA5
monochromatic
#6E42D3 #9473DE #BAA5EA #E0D7F6 #ECE6F9

Accessibility & contrast

On white

2.17
#BAA5EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#BAA5EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA5EA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA5EA#FFFFFF#000000##000000
##BAA5EA1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0ED
Deuteranopia (green-blind)
#99AFE8
Tritanopia (blue-blind)
#B1B0BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #baa5ea;
/* rgb */ color: rgb(186, 165, 234);
/* oklch */ color: oklch(76.5% 0.099 298.0);
Tailwind
colors: {
  custom: {
    50: '#cfbff1',
    500: '#baa5ea',
    950: '#000000',
  },
}
SCSS
$custom: #baa5ea;
$custom-light: #cfbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa5ea",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 234
  },
  "hsl": {
    "h": 258.261,
    "s": 62.162,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7648,
    "c": 0.09944,
    "h": 298
  },
  "luminance": 0.4329
}

Semantic roles & 50–950 ramp

primary
#BAA5EA
secondary
#EAF1DA
accent
#CA1C95
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141216
muted
#828184

Preview Lab

Preview with #BAA5EA

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

Preview Lab → · Contrast checker → · Palette generator →

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