#BA44AD#BA44AD

#BA44AD is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.193 H 332.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA44AD
RGBrgb(186, 68, 173)
HSLhsl(307, 46%, 50%)
HSVhsv(307, 63%, 73%)
CMYKcmyk(0%, 63.4%, 7%, 27.1%)
CIE-LABlab(49.00, 59.74, -32.77)
CIE-LCHlch(49.00, 68.13, 331.25°)
OKLaboklab(58.55% 0.1714 -0.0897)
OKLCHoklch(58.55% 0.193 332.4)
XYZxyz(29.8597, 17.5927, 41.3501)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44AD #44BA51
analogous
#8C44BA #BA44AD #BA4472
triadic
#BA44AD #ADBA44 #44ADBA
tetradic
#BA44AD #BA8C44 #44BA51 #4472BA
square
#BA44AD #BA8C44 #44BA51 #4472BA
split-complementary
#BA44AD #72BA44 #44BA8C
monochromatic
#60235A #8D3483 #BA44AD #CB70C1 #DB9DD4

Accessibility & contrast

On white

4.65
#BA44AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA44AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44AD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44AD#FFFFFF#000000##FFFFFF
##BA44AD1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6AB0
Deuteranopia (green-blind)
#677AAA
Tritanopia (blue-blind)
#C24E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44ad;
/* rgb */ color: rgb(186, 68, 173);
/* oklch */ color: oklch(58.6% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#d280c6',
    500: '#ba44ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba44ad;
$custom-light: #d280c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44ad",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 173
  },
  "hsl": {
    "h": 306.61,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.19343,
    "h": 332.4
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#BA44AD
secondary
#92C898
accent
#D66052
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44AD

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

Preview Lab → · Contrast checker → · Palette generator →

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