#BAA5EB#BAA5EB

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

Color values

HEX#BAA5EB
RGBrgb(186, 165, 235)
HSLhsl(258, 64%, 78%)
HSVhsv(258, 30%, 92%)
CMYKcmyk(20.9%, 29.8%, 0%, 7.8%)
CIE-LABlab(71.79, 21.68, -32.35)
CIE-LCHlch(71.79, 38.94, 303.84°)
OKLaboklab(76.52% 0.0469 -0.0892)
OKLCHoklch(76.52% 0.101 297.7)
XYZxyz(48.6969, 43.3472, 84.3825)
Luminance0.4335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAA5EB #D6EBA5
analogous
#A5B3EB #BAA5EB #DDA5EB
triadic
#BAA5EB #EBBAA5 #A5EBBA
tetradic
#BAA5EB #EBA5B3 #D6EBA5 #A5EBDD
square
#BAA5EB #EBA5B3 #D6EBA5 #A5EBDD
split-complementary
#BAA5EB #EBDDA5 #B3EBA5
monochromatic
#6D41D5 #9473E0 #BAA5EB #E0D7F6 #ECE6F9

Accessibility & contrast

On white

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

On black

9.67
#BAA5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAA5EB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAA5EB#FFFFFF#000000##000000
##BAA5EB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#B1B0BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #baa5eb;
/* rgb */ color: rgb(186, 165, 235);
/* oklch */ color: oklch(76.5% 0.101 297.7);
Tailwind
colors: {
  custom: {
    50: '#cfbff1',
    500: '#baa5eb',
    950: '#000000',
  },
}
SCSS
$custom: #baa5eb;
$custom-light: #cfbff1;
$custom-dark: #000000;
JSON
{
  "hex": "#baa5eb",
  "rgb": {
    "r": 186,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 258,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76522,
    "c": 0.10079,
    "h": 297.7
  },
  "luminance": 0.43348
}

Semantic roles & 50–950 ramp

primary
#BAA5EB
secondary
#EAF1DA
accent
#CB1A96
background
#FCFBFE
surface
#F9F7FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BAA5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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