#BA44AA#BA44AA

#BA44AA is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.191 H 333.5°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA44AA
RGBrgb(186, 68, 170)
HSLhsl(308, 46%, 50%)
HSVhsv(308, 63%, 73%)
CMYKcmyk(0%, 63.4%, 8.6%, 27.1%)
CIE-LABlab(48.86, 59.25, -31.22)
CIE-LCHlch(48.86, 66.98, 332.21°)
OKLaboklab(58.4% 0.171 -0.0853)
OKLCHoklch(58.4% 0.191 333.5)
XYZxyz(29.5726, 17.4779, 39.8384)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44AA #44BA54
analogous
#8F44BA #BA44AA #BA446F
triadic
#BA44AA #AABA44 #44AABA
tetradic
#BA44AA #BA8F44 #44BA54 #446FBA
square
#BA44AA #BA8F44 #44BA54 #446FBA
split-complementary
#BA44AA #6FBA44 #44BA8F
monochromatic
#602358 #8D3481 #BA44AA #CB70BF #DB9DD3

Accessibility & contrast

On white

4.67
#BA44AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA44AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44AA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44AA#FFFFFF#000000##FFFFFF
##BA44AA1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4169AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C24D71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44aa;
/* rgb */ color: rgb(186, 68, 170);
/* oklch */ color: oklch(58.4% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#d280c3',
    500: '#ba44aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba44aa;
$custom-light: #d280c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44aa",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 308.136,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58401,
    "c": 0.1911,
    "h": 333.5
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#BA44AA
secondary
#92C899
accent
#D66452
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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