#BA43AA#BA43AA

#BA43AA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.192 H 333.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA43AA
RGBrgb(186, 67, 170)
HSLhsl(308, 47%, 50%)
HSVhsv(308, 64%, 73%)
CMYKcmyk(0%, 64%, 8.6%, 27.1%)
CIE-LABlab(48.71, 59.67, -31.46)
CIE-LCHlch(48.71, 67.45, 332.20°)
OKLaboklab(58.29% 0.1722 -0.086)
OKLCHoklch(58.29% 0.192 333.5)
XYZxyz(29.5127, 17.3580, 39.8185)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43AA #43BA53
analogous
#8F43BA #BA43AA #BA436F
triadic
#BA43AA #AABA43 #43AABA
tetradic
#BA43AA #BA8F43 #43BA53 #436FBA
square
#BA43AA #BA8F43 #43BA53 #436FBA
split-complementary
#BA43AA #6FBA43 #43BA8F
monochromatic
#602358 #8D3381 #BA43AA #CB6FBF #DB9CD3

Accessibility & contrast

On white

4.70
#BA43AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#BA43AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43AA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43AA#FFFFFF#000000##FFFFFF
##BA43AA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#C24C70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43aa;
/* rgb */ color: rgb(186, 67, 170);
/* oklch */ color: oklch(58.3% 0.192 333.5);
Tailwind
colors: {
  custom: {
    50: '#d27fc3',
    500: '#ba43aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba43aa;
$custom-light: #d27fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43aa",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 308.067,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.19247,
    "h": 333.5
  },
  "luminance": 0.17356
}

Semantic roles & 50–950 ramp

primary
#BA43AA
secondary
#91C899
accent
#D76351
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B12
muted
#837C81

Preview Lab

Preview with #BA43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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