#BA4AD2#BA4AD2

#BA4AD2 is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.217 H 320.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA4AD2
RGBrgb(186, 74, 210)
HSLhsl(289, 60%, 56%)
HSVhsv(289, 65%, 82%)
CMYKcmyk(11.4%, 64.8%, 0%, 17.6%)
CIE-LABlab(51.83, 63.72, -49.72)
CIE-LCHlch(51.83, 80.82, 322.03°)
OKLaboklab(61.22% 0.1662 -0.1389)
OKLCHoklch(61.22% 0.217 320.1)
XYZxyz(34.3299, 19.9914, 63.0107)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4AD2 #62D24A
analogous
#764AD2 #BA4AD2 #D24AA6
triadic
#BA4AD2 #D2BA4A #4AD2BA
tetradic
#BA4AD2 #D2764A #62D24A #4AA6D2
square
#BA4AD2 #D2764A #62D24A #4AA6D2
split-complementary
#BA4AD2 #A6D24A #4AD276
monochromatic
#702081 #9B2CB2 #BA4AD2 #CD7BDE #DFACEA

Accessibility & contrast

On white

4.20
#BA4AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA4AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4AD2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4AD2#FFFFFF#000000##000000
##BA4AD21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2074D6
Deuteranopia (green-blind)
#5680CF
Tritanopia (blue-blind)
#BB6188
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4ad2;
/* rgb */ color: rgb(186, 74, 210);
/* oklch */ color: oklch(61.2% 0.217 320.1);
Tailwind
colors: {
  custom: {
    50: '#d284e0',
    500: '#ba4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ad2;
$custom-light: #d284e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ad2",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 289.412,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.21662,
    "h": 320.1
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

primary
#BA4AD2
secondary
#AAD8A0
accent
#E34461
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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