#BA44D5#BA44D5

#BA44D5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.227 H 319.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA44D5
RGBrgb(186, 68, 213)
HSLhsl(289, 63%, 55%)
HSVhsv(289, 68%, 84%)
CMYKcmyk(12.7%, 68.1%, 0%, 16.5%)
CIE-LABlab(51.13, 66.72, -52.55)
CIE-LCHlch(51.13, 84.93, 321.77°)
OKLaboklab(60.78% 0.1726 -0.1471)
OKLCHoklch(60.78% 0.227 319.6)
XYZxyz(34.3255, 19.3791, 64.8704)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44D5 #5FD544
analogous
#7244D5 #BA44D5 #D544A7
triadic
#BA44D5 #D5BA44 #44D5BA
tetradic
#BA44D5 #D57244 #5FD544 #44A7D5
square
#BA44D5 #D57244 #5FD544 #44A7D5
split-complementary
#BA44D5 #A7D544 #44D572
monochromatic
#6F1D82 #9A28B3 #BA44D5 #CC76E0 #DFA8EB

Accessibility & contrast

On white

4.31
#BA44D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA44D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44D5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44D5#FFFFFF#000000##000000
##BA44D51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072D9
Deuteranopia (green-blind)
#4F7ED2
Tritanopia (blue-blind)
#BA5F88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba44d5;
/* rgb */ color: rgb(186, 68, 213);
/* oklch */ color: oklch(60.8% 0.227 319.6);
Tailwind
colors: {
  custom: {
    50: '#d281e2',
    500: '#ba44d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba44d5;
$custom-light: #d281e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44d5",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 213
  },
  "hsl": {
    "h": 288.828,
    "s": 63.319,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.22683,
    "h": 319.6
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#BA44D5
secondary
#A7D99C
accent
#E64160
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA44D5

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

Preview Lab → · Contrast checker → · Palette generator →

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