#BA44D9#BA44D9

#BA44D9 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.230 H 318.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA44D9
RGBrgb(186, 68, 217)
HSLhsl(288, 66%, 56%)
HSVhsv(288, 69%, 85%)
CMYKcmyk(14.3%, 68.7%, 0%, 14.9%)
CIE-LABlab(51.36, 67.47, -54.45)
CIE-LCHlch(51.36, 86.70, 321.09°)
OKLaboklab(61.02% 0.1724 -0.1527)
OKLCHoklch(61.02% 0.23 318.5)
XYZxyz(34.8395, 19.5847, 67.5772)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44D9 #63D944
analogous
#6F44D9 #BA44D9 #D944AD
triadic
#BA44D9 #D9BA44 #44D9BA
tetradic
#BA44D9 #D96F44 #63D944 #44ADD9
square
#BA44D9 #D96F44 #63D944 #44ADD9
split-complementary
#BA44D9 #ADD944 #44D96F
monochromatic
#711B87 #9B26BA #BA44D9 #CD77E3 #E0AAEE

Accessibility & contrast

On white

4.27
#BA44D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA44D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44D9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44D9#FFFFFF#000000##000000
##BA44D91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#4C7ED6
Tritanopia (blue-blind)
#B9608A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba44d9;
/* rgb */ color: rgb(186, 68, 217);
/* oklch */ color: oklch(61.0% 0.230 318.5);
Tailwind
colors: {
  custom: {
    50: '#d381e5',
    500: '#ba44d9',
    950: '#000000',
  },
}
SCSS
$custom: #ba44d9;
$custom-light: #d381e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44d9",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 217
  },
  "hsl": {
    "h": 287.517,
    "s": 66.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61022,
    "c": 0.23033,
    "h": 318.5
  },
  "luminance": 0.19583
}

Semantic roles & 50–950 ramp

primary
#BA44D9
secondary
#AADB9E
accent
#E93F62
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA44D9

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

Preview Lab → · Contrast checker → · Palette generator →

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