#BA43B0#BA43B0

#BA43B0 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.6% C 0.197 H 331.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA43B0
RGBrgb(186, 67, 176)
HSLhsl(305, 47%, 50%)
HSVhsv(305, 64%, 73%)
CMYKcmyk(0%, 64%, 5.4%, 27.1%)
CIE-LABlab(49.00, 60.63, -34.53)
CIE-LCHlch(49.00, 69.78, 330.34°)
OKLaboklab(58.6% 0.1729 -0.0948)
OKLCHoklch(58.6% 0.197 331.3)
XYZxyz(30.0932, 17.5902, 42.8761)
Luminance0.1759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43B0 #43BA4D
analogous
#8943BA #BA43B0 #BA4375
triadic
#BA43B0 #B0BA43 #43B0BA
tetradic
#BA43B0 #BA8943 #43BA4D #4375BA
square
#BA43B0 #BA8943 #43BA4D #4375BA
split-complementary
#BA43B0 #75BA43 #43BA89
monochromatic
#60235B #8D3385 #BA43B0 #CB6FC3 #DB9CD6

Accessibility & contrast

On white

4.65
#BA43B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA43B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43B0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43B0#FFFFFF#000000##FFFFFF
##BA43B01.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6AB3
Deuteranopia (green-blind)
#657AAD
Tritanopia (blue-blind)
#C14F74
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba43b0;
/* rgb */ color: rgb(186, 67, 176);
/* oklch */ color: oklch(58.6% 0.197 331.3);
Tailwind
colors: {
  custom: {
    50: '#d280c8',
    500: '#ba43b0',
    950: '#000000',
  },
}
SCSS
$custom: #ba43b0;
$custom-light: #d280c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43b0",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 305.042,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58595,
    "c": 0.19714,
    "h": 331.3
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA43B0

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

Preview Lab → · Contrast checker → · Palette generator →

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