#BA43C8#BA43C8

#BA43C8 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.217 H 323.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA43C8
RGBrgb(186, 67, 200)
HSLhsl(294, 55%, 52%)
HSVhsv(294, 67%, 78%)
CMYKcmyk(7%, 66.5%, 0%, 21.6%)
CIE-LABlab(50.25, 64.74, -46.50)
CIE-LCHlch(50.25, 79.71, 324.31°)
OKLaboklab(59.9% 0.174 -0.1295)
OKLCHoklch(59.9% 0.217 323.3)
XYZxyz(32.6812, 18.6254, 56.5060)
Luminance0.1862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43C8 #51C843
analogous
#7743C8 #BA43C8 #C84394
triadic
#BA43C8 #C8BA43 #43C8BA
tetradic
#BA43C8 #C87743 #51C843 #4394C8
square
#BA43C8 #C87743 #51C843 #4394C8
split-complementary
#BA43C8 #94C843 #43C877
monochromatic
#682170 #932F9F #BA43C8 #CB72D6 #DDA2E4

Accessibility & contrast

On white

4.44
#BA43C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BA43C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43C8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43C8#FFFFFF#000000##000000
##BA43C81.004.444.724.72
#FFFFFF4.441.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#216FCC
Deuteranopia (green-blind)
#587CC5
Tritanopia (blue-blind)
#BD5980
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba43c8;
/* rgb */ color: rgb(186, 67, 200);
/* oklch */ color: oklch(59.9% 0.217 323.3);
Tailwind
colors: {
  custom: {
    50: '#d280d9',
    500: '#ba43c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba43c8;
$custom-light: #d280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43c8",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 293.684,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.21687,
    "h": 323.3
  },
  "luminance": 0.18624
}

Semantic roles & 50–950 ramp

primary
#BA43C8
secondary
#9DD096
accent
#DE4A59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43C8

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

Preview Lab → · Contrast checker → · Palette generator →

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