#BA44B1#BA44B1

#BA44B1 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.8% C 0.197 H 330.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA44B1
RGBrgb(186, 68, 177)
HSLhsl(305, 46%, 50%)
HSVhsv(305, 63%, 73%)
CMYKcmyk(0%, 63.4%, 4.8%, 27.1%)
CIE-LABlab(49.19, 60.39, -34.81)
CIE-LCHlch(49.19, 69.70, 330.04°)
OKLaboklab(58.75% 0.1718 -0.0956)
OKLCHoklch(58.75% 0.197 330.9)
XYZxyz(30.2525, 17.7499, 43.4191)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B1 #44BA4D
analogous
#8844BA #BA44B1 #BA4476
triadic
#BA44B1 #B1BA44 #44B1BA
tetradic
#BA44B1 #BA8844 #44BA4D #4476BA
square
#BA44B1 #BA8844 #44BA4D #4476BA
split-complementary
#BA44B1 #76BA44 #44BA88
monochromatic
#60235C #8D3486 #BA44B1 #CB70C4 #DB9DD6

Accessibility & contrast

On white

4.62
#BA44B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#BA44B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44B1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B1#FFFFFF#000000##FFFFFF
##BA44B11.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB4
Deuteranopia (green-blind)
#657BAE
Tritanopia (blue-blind)
#C15074
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b1;
/* rgb */ color: rgb(186, 68, 177);
/* oklch */ color: oklch(58.8% 0.197 330.9);
Tailwind
colors: {
  custom: {
    50: '#d280c8',
    500: '#ba44b1',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b1;
$custom-light: #d280c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b1",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 177
  },
  "hsl": {
    "h": 304.576,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58754,
    "c": 0.19658,
    "h": 330.9
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#BA44B1
secondary
#92C896
accent
#D65C52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B1

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

Preview Lab → · Contrast checker → · Palette generator →

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