#BA44B8#BA44B8

#BA44B8 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.202 H 328.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA44B8
RGBrgb(186, 68, 184)
HSLhsl(301, 46%, 50%)
HSVhsv(301, 63%, 73%)
CMYKcmyk(0%, 63.4%, 1.1%, 27.1%)
CIE-LABlab(49.54, 61.56, -38.35)
CIE-LCHlch(49.54, 72.53, 328.08°)
OKLaboklab(59.12% 0.1723 -0.1058)
OKLCHoklch(59.12% 0.202 328.5)
XYZxyz(30.9682, 18.0361, 47.1883)
Luminance0.1803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B8 #44BA46
analogous
#8144BA #BA44B8 #BA447D
triadic
#BA44B8 #B8BA44 #44B8BA
tetradic
#BA44B8 #BA8144 #44BA46 #447DBA
square
#BA44B8 #BA8144 #44BA46 #447DBA
split-complementary
#BA44B8 #7DBA44 #44BA81
monochromatic
#60235F #8D348C #BA44B8 #CB70C9 #DB9DDA

Accessibility & contrast

On white

4.56
#BA44B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA44B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44B8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B8#FFFFFF#000000##000000
##BA44B81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#366CBB
Deuteranopia (green-blind)
#627BB5
Tritanopia (blue-blind)
#C05378
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba44b8;
/* rgb */ color: rgb(186, 68, 184);
/* oklch */ color: oklch(59.1% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#d280ce',
    500: '#ba44b8',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b8;
$custom-light: #d280ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b8",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 184
  },
  "hsl": {
    "h": 301.017,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5912,
    "c": 0.20223,
    "h": 328.5
  },
  "luminance": 0.18034
}

Semantic roles & 50–950 ramp

primary
#BA44B8
secondary
#92C893
accent
#D65452
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B8

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

Preview Lab → · Contrast checker → · Palette generator →

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