#BA4ADA#BA4ADA

#BA4ADA is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.7% C 0.224 H 317.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4ADA
RGBrgb(186, 74, 218)
HSLhsl(287, 66%, 57%)
HSVhsv(287, 66%, 85%)
CMYKcmyk(14.7%, 66.1%, 0%, 14.5%)
CIE-LABlab(52.29, 65.24, -53.55)
CIE-LCHlch(52.29, 84.40, 320.62°)
OKLaboklab(61.7% 0.1661 -0.1501)
OKLCHoklch(61.7% 0.224 317.9)
XYZxyz(35.3516, 20.4001, 68.3915)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ADA #6ADA4A
analogous
#724ADA #BA4ADA #DA4AB2
triadic
#BA4ADA #DABA4A #4ADABA
tetradic
#BA4ADA #DA724A #6ADA4A #4AB2DA
square
#BA4ADA #DA724A #6ADA4A #4AB2DA
split-complementary
#BA4ADA #B2DA4A #4ADA72
monochromatic
#741D8D #9E27C0 #BA4ADA #CD7DE4 #E1B0EF

Accessibility & contrast

On white

4.13
#BA4ADA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA4ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ADA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ADA#FFFFFF#000000##000000
##BA4ADA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B76DE
Deuteranopia (green-blind)
#5080D7
Tritanopia (blue-blind)
#B9648C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4ada;
/* rgb */ color: rgb(186, 74, 218);
/* oklch */ color: oklch(61.7% 0.224 317.9);
Tailwind
colors: {
  custom: {
    50: '#d284e6',
    500: '#ba4ada',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ada;
$custom-light: #d284e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ada",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 286.667,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61703,
    "c": 0.22382,
    "h": 317.9
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#BA4ADA
secondary
#B0DDA3
accent
#E93F65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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