#BA5AE4#BA5AE4

#BA5AE4 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.2% C 0.212 H 314.2°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE4
RGBrgb(186, 90, 228)
HSLhsl(282, 72%, 62%)
HSVhsv(282, 61%, 89%)
CMYKcmyk(18.4%, 60.5%, 0%, 10.6%)
CIE-LABlab(55.44, 60.13, -54.17)
CIE-LCHlch(55.44, 80.93, 317.99°)
OKLaboklab(64.16% 0.1475 -0.152)
OKLCHoklch(64.16% 0.212 314.2)
XYZxyz(37.9071, 23.3540, 75.8947)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE4 #84E45A
analogous
#755AE4 #BA5AE4 #E45AC9
triadic
#BA5AE4 #E4BA5A #5AE4BA
tetradic
#BA5AE4 #E4755A #84E45A #5AC9E4
square
#BA5AE4 #E4755A #84E45A #5AC9E4
split-complementary
#BA5AE4 #C9E45A #5AE475
monochromatic
#7D1CA8 #A425DB #BA5AE4 #D08FED #E6C3F5

Accessibility & contrast

On white

3.70
#BA5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#BA5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE4#FFFFFF#000000##000000
##BA5AE41.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7FE8
Deuteranopia (green-blind)
#5587E1
Tritanopia (blue-blind)
#B67397
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae4;
/* rgb */ color: rgb(186, 90, 228);
/* oklch */ color: oklch(64.2% 0.212 314.2);
Tailwind
colors: {
  custom: {
    50: '#d28eed',
    500: '#ba5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae4;
$custom-light: #d28eed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae4",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 281.739,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.21182,
    "h": 314.2
  },
  "luminance": 0.23353
}

Semantic roles & 50–950 ramp

primary
#BA5AE4
secondary
#C3E6B4
accent
#D4124D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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