#BA43C7#BA43C7

#BA43C7 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.8% C 0.216 H 323.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA43C7
RGBrgb(186, 67, 199)
HSLhsl(294, 54%, 52%)
HSVhsv(294, 66%, 78%)
CMYKcmyk(6.5%, 66.3%, 0%, 22%)
CIE-LABlab(50.19, 64.56, -46.02)
CIE-LCHlch(50.19, 79.28, 324.52°)
OKLaboklab(59.85% 0.174 -0.128)
OKLCHoklch(59.85% 0.216 323.6)
XYZxyz(32.5647, 18.5788, 55.8926)
Luminance0.1858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43C7 #50C743
analogous
#7843C7 #BA43C7 #C74392
triadic
#BA43C7 #C7BA43 #43C7BA
tetradic
#BA43C7 #C77843 #50C743 #4392C7
square
#BA43C7 #C77843 #50C743 #4392C7
split-complementary
#BA43C7 #92C743 #43C778
monochromatic
#67216F #932F9E #BA43C7 #CB72D5 #DDA1E3

Accessibility & contrast

On white

4.45
#BA43C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA43C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43C7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43C7#FFFFFF#000000##000000
##BA43C71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#236ECB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#BD5880
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba43c7;
/* rgb */ color: rgb(186, 67, 199);
/* oklch */ color: oklch(59.8% 0.216 323.6);
Tailwind
colors: {
  custom: {
    50: '#d280d8',
    500: '#ba43c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba43c7;
$custom-light: #d280d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43c7",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 199
  },
  "hsl": {
    "h": 294.091,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.21602,
    "h": 323.6
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#BA43C7
secondary
#9CD096
accent
#DD4A59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA43C7

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

Preview Lab → · Contrast checker → · Palette generator →

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