#BA44A8#BA44A8

#BA44A8 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.190 H 334.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA44A8
RGBrgb(186, 68, 168)
HSLhsl(309, 46%, 50%)
HSVhsv(309, 63%, 73%)
CMYKcmyk(0%, 63.4%, 9.7%, 27.1%)
CIE-LABlab(48.76, 58.94, -30.19)
CIE-LCHlch(48.76, 66.22, 332.87°)
OKLaboklab(58.3% 0.1708 -0.0824)
OKLCHoklch(58.3% 0.19 334.3)
XYZxyz(29.3849, 17.4028, 38.8496)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44A8 #44BA56
analogous
#9144BA #BA44A8 #BA446D
triadic
#BA44A8 #A8BA44 #44A8BA
tetradic
#BA44A8 #BA9144 #44BA56 #446DBA
square
#BA44A8 #BA9144 #44BA56 #446DBA
split-complementary
#BA44A8 #6DBA44 #44BA91
monochromatic
#602357 #8D3480 #BA44A8 #CB70BD #DB9DD2

Accessibility & contrast

On white

4.69
#BA44A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA44A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44A8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44A8#FFFFFF#000000##FFFFFF
##BA44A81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AB
Deuteranopia (green-blind)
#697AA5
Tritanopia (blue-blind)
#C24C70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44a8;
/* rgb */ color: rgb(186, 68, 168);
/* oklch */ color: oklch(58.3% 0.190 334.3);
Tailwind
colors: {
  custom: {
    50: '#d280c2',
    500: '#ba44a8',
    950: '#000000',
  },
}
SCSS
$custom: #ba44a8;
$custom-light: #d280c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44a8",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 168
  },
  "hsl": {
    "h": 309.153,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.18957,
    "h": 334.3
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#BA44A8
secondary
#92C89A
accent
#D66652
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44A8

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

Preview Lab → · Contrast checker → · Palette generator →

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