#BA43AF#BA43AF

#BA43AF is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.196 H 331.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA43AF
RGBrgb(186, 67, 175)
HSLhsl(306, 47%, 50%)
HSVhsv(306, 64%, 73%)
CMYKcmyk(0%, 64%, 5.9%, 27.1%)
CIE-LABlab(48.95, 60.47, -34.02)
CIE-LCHlch(48.95, 69.38, 330.64°)
OKLaboklab(58.54% 0.1728 -0.0933)
OKLCHoklch(58.54% 0.196 331.6)
XYZxyz(29.9947, 17.5508, 42.3570)
Luminance0.1755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43AF #43BA4E
analogous
#8A43BA #BA43AF #BA4374
triadic
#BA43AF #AFBA43 #43AFBA
tetradic
#BA43AF #BA8A43 #43BA4E #4374BA
square
#BA43AF #BA8A43 #43BA4E #4374BA
split-complementary
#BA43AF #74BA43 #43BA8A
monochromatic
#60235A #8D3385 #BA43AF #CB6FC3 #DB9CD6

Accessibility & contrast

On white

4.66
#BA43AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA43AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43AF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43AF#FFFFFF#000000##FFFFFF
##BA43AF1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#657AAC
Tritanopia (blue-blind)
#C14E73
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43af;
/* rgb */ color: rgb(186, 67, 175);
/* oklch */ color: oklch(58.5% 0.196 331.6);
Tailwind
colors: {
  custom: {
    50: '#d280c7',
    500: '#ba43af',
    950: '#000000',
  },
}
SCSS
$custom: #ba43af;
$custom-light: #d280c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43af",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 305.546,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58544,
    "c": 0.19635,
    "h": 331.6
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#BA43AF
secondary
#91C896
accent
#D75D51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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