#BA44B2#BA44B2

#BA44B2 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.8% C 0.197 H 330.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA44B2
RGBrgb(186, 68, 178)
HSLhsl(304, 46%, 50%)
HSVhsv(304, 63%, 73%)
CMYKcmyk(0%, 63.4%, 4.3%, 27.1%)
CIE-LABlab(49.24, 60.55, -35.32)
CIE-LCHlch(49.24, 70.10, 329.75°)
OKLaboklab(58.8% 0.1719 -0.0971)
OKLCHoklch(58.8% 0.197 330.5)
XYZxyz(30.3526, 17.7899, 43.9460)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B2 #44BA4C
analogous
#8744BA #BA44B2 #BA4477
triadic
#BA44B2 #B2BA44 #44B2BA
tetradic
#BA44B2 #BA8744 #44BA4C #4477BA
square
#BA44B2 #BA8744 #44BA4C #4477BA
split-complementary
#BA44B2 #77BA44 #44BA87
monochromatic
#60235C #8D3487 #BA44B2 #CB70C5 #DB9DD7

Accessibility & contrast

On white

4.61
#BA44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA44B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B2#FFFFFF#000000##FFFFFF
##BA44B21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB5
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#C15075
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b2;
/* rgb */ color: rgb(186, 68, 178);
/* oklch */ color: oklch(58.8% 0.197 330.5);
Tailwind
colors: {
  custom: {
    50: '#d280c9',
    500: '#ba44b2',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b2;
$custom-light: #d280c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b2",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 304.068,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.19737,
    "h": 330.5
  },
  "luminance": 0.17788
}

Semantic roles & 50–950 ramp

primary
#BA44B2
secondary
#92C896
accent
#D65B52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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