#BA43B3#BA43B3

#BA43B3 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.8% C 0.200 H 330.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA43B3
RGBrgb(186, 67, 179)
HSLhsl(304, 47%, 50%)
HSVhsv(304, 64%, 73%)
CMYKcmyk(0%, 64%, 3.8%, 27.1%)
CIE-LABlab(49.14, 61.13, -36.06)
CIE-LCHlch(49.14, 70.97, 329.46°)
OKLaboklab(58.75% 0.1731 -0.0992)
OKLCHoklch(58.75% 0.2 330.2)
XYZxyz(30.3934, 17.7103, 44.4567)
Luminance0.1771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43B3 #43BA4A
analogous
#8543BA #BA43B3 #BA4378
triadic
#BA43B3 #B3BA43 #43B3BA
tetradic
#BA43B3 #BA8543 #43BA4A #4378BA
square
#BA43B3 #BA8543 #43BA4A #4378BA
split-complementary
#BA43B3 #78BA43 #43BA85
monochromatic
#60235C #8D3388 #BA43B3 #CB6FC6 #DB9CD8

Accessibility & contrast

On white

4.62
#BA43B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BA43B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA43B3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43B3#FFFFFF#000000##FFFFFF
##BA43B31.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#637BB0
Tritanopia (blue-blind)
#C15075
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba43b3;
/* rgb */ color: rgb(186, 67, 179);
/* oklch */ color: oklch(58.8% 0.200 330.2);
Tailwind
colors: {
  custom: {
    50: '#d280ca',
    500: '#ba43b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba43b3;
$custom-light: #d280ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43b3",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 303.529,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58751,
    "c": 0.19952,
    "h": 330.2
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#BA43B3
secondary
#91C894
accent
#D75951
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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