#BA43AD#BA43AD

#BA43AD is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.195 H 332.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA43AD
RGBrgb(186, 67, 173)
HSLhsl(307, 47%, 50%)
HSVhsv(307, 64%, 73%)
CMYKcmyk(0%, 64%, 7%, 27.1%)
CIE-LABlab(48.85, 60.15, -33.00)
CIE-LCHlch(48.85, 68.60, 331.25°)
OKLaboklab(58.44% 0.1726 -0.0904)
OKLCHoklch(58.44% 0.195 332.4)
XYZxyz(29.7997, 17.4728, 41.3301)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43AD #43BA50
analogous
#8C43BA #BA43AD #BA4371
triadic
#BA43AD #ADBA43 #43ADBA
tetradic
#BA43AD #BA8C43 #43BA50 #4371BA
square
#BA43AD #BA8C43 #43BA50 #4371BA
split-complementary
#BA43AD #71BA43 #43BA8C
monochromatic
#602359 #8D3383 #BA43AD #CB6FC1 #DB9CD4

Accessibility & contrast

On white

4.67
#BA43AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA43AD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43AD#FFFFFF#000000##FFFFFF
##BA43AD1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69B0
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#C24E72
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43ad;
/* rgb */ color: rgb(186, 67, 173);
/* oklch */ color: oklch(58.4% 0.195 332.4);
Tailwind
colors: {
  custom: {
    50: '#d27fc6',
    500: '#ba43ad',
    950: '#000000',
  },
}
SCSS
$custom: #ba43ad;
$custom-light: #d27fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43ad",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 173
  },
  "hsl": {
    "h": 306.555,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58443,
    "c": 0.19479,
    "h": 332.4
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#BA43AD
secondary
#91C897
accent
#D76051
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA43AD

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

Preview Lab → · Contrast checker → · Palette generator →

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