#BA44B7#BA44B7

#BA44B7 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.201 H 328.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA44B7
RGBrgb(186, 68, 183)
HSLhsl(302, 46%, 50%)
HSVhsv(302, 63%, 73%)
CMYKcmyk(0%, 63.4%, 1.6%, 27.1%)
CIE-LABlab(49.49, 61.39, -37.85)
CIE-LCHlch(49.49, 72.12, 328.34°)
OKLaboklab(59.07% 0.1723 -0.1044)
OKLCHoklch(59.07% 0.201 328.8)
XYZxyz(30.8637, 17.9944, 46.6382)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44B7 #44BA47
analogous
#8244BA #BA44B7 #BA447C
triadic
#BA44B7 #B7BA44 #44B7BA
tetradic
#BA44B7 #BA8244 #44BA47 #447CBA
square
#BA44B7 #BA8244 #44BA47 #447CBA
split-complementary
#BA44B7 #7CBA44 #44BA82
monochromatic
#60235F #8D348B #BA44B7 #CB70C9 #DB9DDA

Accessibility & contrast

On white

4.57
#BA44B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA44B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44B7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44B7#FFFFFF#000000##000000
##BA44B71.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#376CBA
Deuteranopia (green-blind)
#627BB4
Tritanopia (blue-blind)
#C05278
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba44b7;
/* rgb */ color: rgb(186, 68, 183);
/* oklch */ color: oklch(59.1% 0.201 328.8);
Tailwind
colors: {
  custom: {
    50: '#d280cd',
    500: '#ba44b7',
    950: '#000000',
  },
}
SCSS
$custom: #ba44b7;
$custom-light: #d280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44b7",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 183
  },
  "hsl": {
    "h": 301.525,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.20141,
    "h": 328.8
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#BA44B7
secondary
#92C894
accent
#D65552
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA44B7

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

Preview Lab → · Contrast checker → · Palette generator →

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