#BA5AE6#BA5AE6

#BA5AE6 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.214 H 313.6°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE6
RGBrgb(186, 90, 230)
HSLhsl(281, 74%, 63%)
HSVhsv(281, 61%, 90%)
CMYKcmyk(19.1%, 60.9%, 0%, 9.8%)
CIE-LABlab(55.55, 60.54, -55.11)
CIE-LCHlch(55.55, 81.87, 317.69°)
OKLaboklab(64.28% 0.1475 -0.1547)
OKLCHoklch(64.28% 0.214 313.6)
XYZxyz(38.1864, 23.4657, 77.3653)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE6 #86E65A
analogous
#745AE6 #BA5AE6 #E65ACC
triadic
#BA5AE6 #E6BA5A #5AE6BA
tetradic
#BA5AE6 #E6745A #86E65A #5ACCE6
square
#BA5AE6 #E6745A #86E65A #5ACCE6
split-complementary
#BA5AE6 #CCE65A #5AE674
monochromatic
#7E1AAC #A425DE #BA5AE6 #D08FEE #E6C4F6

Accessibility & contrast

On white

3.69
#BA5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BA5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE6
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE6#FFFFFF#000000##000000
##BA5AE61.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EA
Deuteranopia (green-blind)
#5487E3
Tritanopia (blue-blind)
#B67498
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae6;
/* rgb */ color: rgb(186, 90, 230);
/* oklch */ color: oklch(64.3% 0.214 313.6);
Tailwind
colors: {
  custom: {
    50: '#d28eee',
    500: '#ba5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae6;
$custom-light: #d28eee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae6",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 281.143,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.21381,
    "h": 313.6
  },
  "luminance": 0.23465
}

Semantic roles & 50–950 ramp

primary
#BA5AE6
secondary
#C4E7B5
accent
#D6104E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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