#BA43BC#BA43BC

#BA43BC is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.2% C 0.207 H 327.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA43BC
RGBrgb(186, 67, 188)
HSLhsl(299, 47%, 50%)
HSVhsv(299, 64%, 74%)
CMYKcmyk(1.1%, 64.4%, 0%, 26.3%)
CIE-LABlab(49.60, 62.64, -40.58)
CIE-LCHlch(49.60, 74.64, 327.06°)
OKLaboklab(59.23% 0.1737 -0.1123)
OKLCHoklch(59.23% 0.207 327.1)
XYZxyz(31.3334, 18.0863, 49.4078)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43BC #45BC43
analogous
#7D43BC #BA43BC #BC4382
triadic
#BA43BC #BCBA43 #43BCBA
tetradic
#BA43BC #BC7D43 #45BC43 #4382BC
square
#BA43BC #BC7D43 #45BC43 #4382BC
split-complementary
#BA43BC #82BC43 #43BC7D
monochromatic
#612362 #8D338F #BA43BC #CB70CC #DB9DDC

Accessibility & contrast

On white

4.55
#BA43BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA43BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43BC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43BC#FFFFFF#000000##000000
##BA43BC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#BF547A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba43bc;
/* rgb */ color: rgb(186, 67, 188);
/* oklch */ color: oklch(59.2% 0.207 327.1);
Tailwind
colors: {
  custom: {
    50: '#d280d0',
    500: '#ba43bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba43bc;
$custom-light: #d280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43bc",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 299.008,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.59231,
    "c": 0.20682,
    "h": 327.1
  },
  "luminance": 0.18084
}

Semantic roles & 50–950 ramp

primary
#BA43BC
secondary
#93C992
accent
#D75153
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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