#BA43AC#BA43AC

#BA43AC is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.194 H 332.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA43AC
RGBrgb(186, 67, 172)
HSLhsl(307, 47%, 50%)
HSVhsv(307, 64%, 73%)
CMYKcmyk(0%, 64%, 7.5%, 27.1%)
CIE-LABlab(48.80, 59.98, -32.49)
CIE-LCHlch(48.80, 68.22, 331.56°)
OKLaboklab(58.39% 0.1724 -0.0889)
OKLCHoklch(58.39% 0.194 332.7)
XYZxyz(29.7033, 17.4343, 40.8224)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43AC #43BA51
analogous
#8D43BA #BA43AC #BA4370
triadic
#BA43AC #ACBA43 #43ACBA
tetradic
#BA43AC #BA8D43 #43BA51 #4370BA
square
#BA43AC #BA8D43 #43BA51 #4370BA
split-complementary
#BA43AC #70BA43 #43BA8D
monochromatic
#602359 #8D3382 #BA43AC #CB6FC0 #DB9CD4

Accessibility & contrast

On white

4.68
#BA43AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA43AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43AC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43AC#FFFFFF#000000##FFFFFF
##BA43AC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AF
Deuteranopia (green-blind)
#677AA9
Tritanopia (blue-blind)
#C24D71
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43ac;
/* rgb */ color: rgb(186, 67, 172);
/* oklch */ color: oklch(58.4% 0.194 332.7);
Tailwind
colors: {
  custom: {
    50: '#d27fc5',
    500: '#ba43ac',
    950: '#000000',
  },
}
SCSS
$custom: #ba43ac;
$custom-light: #d27fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43ac",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 307.059,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.19401,
    "h": 332.7
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#BA43AC
secondary
#91C898
accent
#D76151
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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