#BA44D2#BA44D2

#BA44D2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.224 H 320.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA44D2
RGBrgb(186, 68, 210)
HSLhsl(290, 61%, 55%)
HSVhsv(290, 68%, 82%)
CMYKcmyk(11.4%, 67.6%, 0%, 17.6%)
CIE-LABlab(50.95, 66.17, -51.12)
CIE-LCHlch(50.95, 83.61, 322.31°)
OKLaboklab(60.6% 0.1728 -0.1429)
OKLCHoklch(60.6% 0.224 320.4)
XYZxyz(33.9483, 19.2282, 62.8835)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44D2 #5CD244
analogous
#7344D2 #BA44D2 #D244A3
triadic
#BA44D2 #D2BA44 #44D2BA
tetradic
#BA44D2 #D27344 #5CD244 #44A3D2
square
#BA44D2 #D27344 #5CD244 #44A3D2
split-complementary
#BA44D2 #A3D244 #44D273
monochromatic
#6D1E7D #982AAF #BA44D2 #CC75DE #DEA7EA

Accessibility & contrast

On white

4.33
#BA44D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA44D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44D2#FFFFFF#000000##000000
##BA44D21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C71D6
Deuteranopia (green-blind)
#517ECF
Tritanopia (blue-blind)
#BB5D86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba44d2;
/* rgb */ color: rgb(186, 68, 210);
/* oklch */ color: oklch(60.6% 0.224 320.4);
Tailwind
colors: {
  custom: {
    50: '#d281e0',
    500: '#ba44d2',
    950: '#000000',
  },
}
SCSS
$custom: #ba44d2;
$custom-light: #d281e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44d2",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 210
  },
  "hsl": {
    "h": 289.859,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60596,
    "c": 0.22422,
    "h": 320.4
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

primary
#BA44D2
secondary
#A5D79B
accent
#E4435F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA44D2

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

Preview Lab → · Contrast checker → · Palette generator →

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