#BA4AD5#BA4AD5

#BA4AD5 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.219 H 319.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA4AD5
RGBrgb(186, 74, 213)
HSLhsl(288, 62%, 56%)
HSVhsv(288, 65%, 84%)
CMYKcmyk(12.7%, 65.3%, 0%, 16.5%)
CIE-LABlab(52.00, 64.29, -51.16)
CIE-LCHlch(52.00, 82.16, 321.49°)
OKLaboklab(61.4% 0.1662 -0.1431)
OKLCHoklch(61.4% 0.219 319.3)
XYZxyz(34.7072, 20.1423, 64.9976)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AD5 #65D54A
analogous
#754AD5 #BA4AD5 #D54AAB
triadic
#BA4AD5 #D5BA4A #4AD5BA
tetradic
#BA4AD5 #D5754A #65D54A #4AABD5
square
#BA4AD5 #D5754A #65D54A #4AABD5
split-complementary
#BA4AD5 #ABD54A #4AD575
monochromatic
#721F86 #9C2BB7 #BA4AD5 #CD7CE1 #E0ADEC

Accessibility & contrast

On white

4.18
#BA4AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA4AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AD5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AD5#FFFFFF#000000##000000
##BA4AD51.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A74D9
Deuteranopia (green-blind)
#5480D2
Tritanopia (blue-blind)
#BA6289
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4ad5;
/* rgb */ color: rgb(186, 74, 213);
/* oklch */ color: oklch(61.4% 0.219 319.3);
Tailwind
colors: {
  custom: {
    50: '#d284e2',
    500: '#ba4ad5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ad5;
$custom-light: #d284e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ad5",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 288.345,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.21931,
    "h": 319.3
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#BA4AD5
secondary
#ACDAA1
accent
#E54262
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA4AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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