#BA44B4#BA44B4

#BA44B4 is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.199 H 329.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA44B4
RGBrgb(186, 68, 180)
HSLhsl(303, 46%, 50%)
HSVhsv(303, 63%, 73%)
CMYKcmyk(0%, 63.4%, 3.2%, 27.1%)
CIE-LABlab(49.34, 60.88, -36.33)
CIE-LCHlch(49.34, 70.90, 329.17°)
OKLaboklab(58.91% 0.172 -0.1)
OKLCHoklch(58.91% 0.199 329.8)
XYZxyz(30.5548, 17.8708, 45.0113)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B4 #44BA4A
analogous
#8544BA #BA44B4 #BA4479
triadic
#BA44B4 #B4BA44 #44B4BA
tetradic
#BA44B4 #BA8544 #44BA4A #4479BA
square
#BA44B4 #BA8544 #44BA4A #4479BA
split-complementary
#BA44B4 #79BA44 #44BA85
monochromatic
#60235D #8D3489 #BA44B4 #CB70C6 #DB9DD8

Accessibility & contrast

On white

4.59
#BA44B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BA44B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44B4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B4#FFFFFF#000000##FFFFFF
##BA44B41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6BB7
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#C15176
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba44b4;
/* rgb */ color: rgb(186, 68, 180);
/* oklch */ color: oklch(58.9% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#d280cb',
    500: '#ba44b4',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b4;
$custom-light: #d280cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b4",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 180
  },
  "hsl": {
    "h": 303.051,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58909,
    "c": 0.19899,
    "h": 329.8
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#BA44B4
secondary
#92C895
accent
#D65852
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B4

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

Preview Lab → · Contrast checker → · Palette generator →

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