#BA5AE9#BA5AE9

#BA5AE9 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.217 H 312.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE9
RGBrgb(186, 90, 233)
HSLhsl(280, 76%, 63%)
HSVhsv(280, 61%, 91%)
CMYKcmyk(20.2%, 61.4%, 0%, 8.6%)
CIE-LABlab(55.72, 61.16, -56.51)
CIE-LCHlch(55.72, 83.28, 317.26°)
OKLaboklab(64.46% 0.1475 -0.1588)
OKLCHoklch(64.46% 0.217 312.9)
XYZxyz(38.6113, 23.6357, 79.6032)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE9 #89E95A
analogous
#725AE9 #BA5AE9 #E95AD0
triadic
#BA5AE9 #E9BA5A #5AE9BA
tetradic
#BA5AE9 #E9725A #89E95A #5AD0E9
square
#BA5AE9 #E9725A #89E95A #5AD0E9
split-complementary
#BA5AE9 #D0E95A #5AE972
monochromatic
#7F18B1 #A324E2 #BA5AE9 #D190F0 #E7C6F7

Accessibility & contrast

On white

3.67
#BA5AE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#BA5AE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE9
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE9#FFFFFF#000000##000000
##BA5AE91.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180ED
Deuteranopia (green-blind)
#5188E6
Tritanopia (blue-blind)
#B57599
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae9;
/* rgb */ color: rgb(186, 90, 233);
/* oklch */ color: oklch(64.5% 0.217 312.9);
Tailwind
colors: {
  custom: {
    50: '#d28ef1',
    500: '#ba5ae9',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae9;
$custom-light: #d28ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae9",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 233
  },
  "hsl": {
    "h": 280.28,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64462,
    "c": 0.21678,
    "h": 312.9
  },
  "luminance": 0.23635
}

Semantic roles & 50–950 ramp

primary
#BA5AE9
secondary
#C7E9B6
accent
#D90D50
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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