#BA44B5#BA44B5

#BA44B5 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 59.0% C 0.200 H 329.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BA44B5
RGBrgb(186, 68, 181)
HSLhsl(303, 46%, 50%)
HSVhsv(303, 63%, 73%)
CMYKcmyk(0%, 63.4%, 2.7%, 27.1%)
CIE-LABlab(49.39, 61.05, -36.84)
CIE-LCHlch(49.39, 71.31, 328.89°)
OKLaboklab(58.96% 0.1721 -0.1014)
OKLCHoklch(58.96% 0.2 329.5)
XYZxyz(30.6571, 17.9117, 45.5497)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B5 #44BA49
analogous
#8444BA #BA44B5 #BA447A
triadic
#BA44B5 #B5BA44 #44B5BA
tetradic
#BA44B5 #BA8444 #44BA49 #447ABA
square
#BA44B5 #BA8444 #44BA49 #447ABA
split-complementary
#BA44B5 #7ABA44 #44BA84
monochromatic
#60235E #8D3489 #BA44B5 #CB70C7 #DB9DD9

Accessibility & contrast

On white

4.58
#BA44B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA44B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44B5
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B5#FFFFFF#000000##000000
##BA44B51.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#C05276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b5;
/* rgb */ color: rgb(186, 68, 181);
/* oklch */ color: oklch(59.0% 0.200 329.5);
Tailwind
colors: {
  custom: {
    50: '#d280cb',
    500: '#ba44b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b5;
$custom-light: #d280cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b5",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 181
  },
  "hsl": {
    "h": 302.542,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.19979,
    "h": 329.5
  },
  "luminance": 0.1791
}

Semantic roles & 50–950 ramp

primary
#BA44B5
secondary
#92C894
accent
#D65752
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B5

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

Preview Lab → · Contrast checker → · Palette generator →

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