#BA44B6#BA44B6

#BA44B6 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.0% C 0.201 H 329.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA44B6
RGBrgb(186, 68, 182)
HSLhsl(302, 46%, 50%)
HSVhsv(302, 63%, 73%)
CMYKcmyk(0%, 63.4%, 2.2%, 27.1%)
CIE-LABlab(49.44, 61.22, -37.34)
CIE-LCHlch(49.44, 71.71, 328.62°)
OKLaboklab(59.01% 0.1722 -0.1029)
OKLCHoklch(59.01% 0.201 329.1)
XYZxyz(30.7600, 17.9529, 46.0920)
Luminance0.1795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B6 #44BA48
analogous
#8344BA #BA44B6 #BA447B
triadic
#BA44B6 #B6BA44 #44B6BA
tetradic
#BA44B6 #BA8344 #44BA48 #447BBA
square
#BA44B6 #BA8344 #44BA48 #447BBA
split-complementary
#BA44B6 #7BBA44 #44BA83
monochromatic
#60235E #8D348A #BA44B6 #CB70C8 #DB9DD9

Accessibility & contrast

On white

4.57
#BA44B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA44B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44B6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B6#FFFFFF#000000##000000
##BA44B61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#386BB9
Deuteranopia (green-blind)
#637BB3
Tritanopia (blue-blind)
#C05277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b6;
/* rgb */ color: rgb(186, 68, 182);
/* oklch */ color: oklch(59.0% 0.201 329.1);
Tailwind
colors: {
  custom: {
    50: '#d280cc',
    500: '#ba44b6',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b6;
$custom-light: #d280cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b6",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 182
  },
  "hsl": {
    "h": 302.034,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59014,
    "c": 0.20059,
    "h": 329.1
  },
  "luminance": 0.17951
}

Semantic roles & 50–950 ramp

primary
#BA44B6
secondary
#92C894
accent
#D65652
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B6

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

Preview Lab → · Contrast checker → · Palette generator →

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