#BA44C5#BA44C5

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

Color values

HEX#BA44C5
RGBrgb(186, 68, 197)
HSLhsl(295, 53%, 52%)
HSVhsv(295, 65%, 77%)
CMYKcmyk(5.6%, 65.5%, 0%, 22.7%)
CIE-LABlab(50.22, 63.81, -44.81)
CIE-LCHlch(50.22, 77.97, 324.92°)
OKLaboklab(59.84% 0.1729 -0.1245)
OKLCHoklch(59.84% 0.213 324.2)
XYZxyz(32.3940, 18.6065, 54.6976)
Luminance0.1860 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44C5 #4FC544
analogous
#7A44C5 #BA44C5 #C5448F
triadic
#BA44C5 #C5BA44 #44C5BA
tetradic
#BA44C5 #C57A44 #4FC544 #448FC5
square
#BA44C5 #C57A44 #4FC544 #448FC5
split-complementary
#BA44C5 #8FC544 #44C57A
monochromatic
#66226D #92309C #BA44C5 #CB73D3 #DCA1E2

Accessibility & contrast

On white

4.45
#BA44C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA44C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44C5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44C5#FFFFFF#000000##000000
##BA44C51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#286EC9
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#BE587F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba44c5;
/* rgb */ color: rgb(186, 68, 197);
/* oklch */ color: oklch(59.8% 0.213 324.2);
Tailwind
colors: {
  custom: {
    50: '#d281d7',
    500: '#ba44c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba44c5;
$custom-light: #d281d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44c5",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 294.884,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.21306,
    "h": 324.2
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#BA44C5
secondary
#9BCF96
accent
#DC4C58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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