#BA44A7#BA44A7

#BA44A7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.189 H 334.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA44A7
RGBrgb(186, 68, 167)
HSLhsl(310, 46%, 50%)
HSVhsv(310, 63%, 73%)
CMYKcmyk(0%, 63.4%, 10.2%, 27.1%)
CIE-LABlab(48.72, 58.78, -29.67)
CIE-LCHlch(48.72, 65.84, 333.21°)
OKLaboklab(58.25% 0.1706 -0.0809)
OKLCHoklch(58.25% 0.189 334.6)
XYZxyz(29.2921, 17.3657, 38.3609)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44A7 #44BA57
analogous
#9244BA #BA44A7 #BA446C
triadic
#BA44A7 #A7BA44 #44A7BA
tetradic
#BA44A7 #BA9244 #44BA57 #446CBA
square
#BA44A7 #BA9244 #44BA57 #446CBA
split-complementary
#BA44A7 #6CBA44 #44BA92
monochromatic
#602357 #8D347F #BA44A7 #CB70BC #DB9DD1

Accessibility & contrast

On white

4.70
#BA44A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA44A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA44A7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44A7#FFFFFF#000000##FFFFFF
##BA44A71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4369AA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#C34C6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba44a7;
/* rgb */ color: rgb(186, 68, 167);
/* oklch */ color: oklch(58.3% 0.189 334.6);
Tailwind
colors: {
  custom: {
    50: '#d280c1',
    500: '#ba44a7',
    950: '#000000',
  },
}
SCSS
$custom: #ba44a7;
$custom-light: #d280c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44a7",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 167
  },
  "hsl": {
    "h": 309.661,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.18882,
    "h": 334.6
  },
  "luminance": 0.17363
}

Semantic roles & 50–950 ramp

primary
#BA44A7
secondary
#92C89B
accent
#D66752
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA44A7

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

Preview Lab → · Contrast checker → · Palette generator →

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