#BA44C4#BA44C4

#BA44C4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.212 H 324.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA44C4
RGBrgb(186, 68, 196)
HSLhsl(295, 52%, 52%)
HSVhsv(295, 65%, 77%)
CMYKcmyk(5.1%, 65.3%, 0%, 23.1%)
CIE-LABlab(50.17, 63.63, -44.32)
CIE-LCHlch(50.17, 77.55, 325.14°)
OKLaboklab(59.78% 0.1729 -0.1231)
OKLCHoklch(59.78% 0.212 324.5)
XYZxyz(32.2798, 18.5608, 54.0962)
Luminance0.1856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44C4 #4EC444
analogous
#7A44C4 #BA44C4 #C4448E
triadic
#BA44C4 #C4BA44 #44C4BA
tetradic
#BA44C4 #C47A44 #4EC444 #448EC4
square
#BA44C4 #C47A44 #4EC444 #448EC4
split-complementary
#BA44C4 #8EC444 #44C47A
monochromatic
#66226C #92319A #BA44C4 #CB73D3 #DCA1E1

Accessibility & contrast

On white

4.46
#BA44C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA44C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44C4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44C4#FFFFFF#000000##000000
##BA44C41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#296EC8
Deuteranopia (green-blind)
#5B7CC1
Tritanopia (blue-blind)
#BE587E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba44c4;
/* rgb */ color: rgb(186, 68, 196);
/* oklch */ color: oklch(59.8% 0.212 324.5);
Tailwind
colors: {
  custom: {
    50: '#d281d6',
    500: '#ba44c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba44c4;
$custom-light: #d281d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44c4",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 196
  },
  "hsl": {
    "h": 295.313,
    "s": 52.033,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.21221,
    "h": 324.5
  },
  "luminance": 0.18559
}

Semantic roles & 50–950 ramp

primary
#BA44C4
secondary
#9ACE96
accent
#DB4C58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA44C4

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

Preview Lab → · Contrast checker → · Palette generator →

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