#BA43C1#BA43C1

#BA43C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.5% C 0.211 H 325.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA43C1
RGBrgb(186, 67, 193)
HSLhsl(297, 50%, 51%)
HSVhsv(297, 65%, 76%)
CMYKcmyk(3.6%, 65.3%, 0%, 24.3%)
CIE-LABlab(49.86, 63.51, -43.07)
CIE-LCHlch(49.86, 76.73, 325.86°)
OKLaboklab(59.51% 0.1739 -0.1195)
OKLCHoklch(59.51% 0.211 325.5)
XYZxyz(31.8818, 18.3056, 52.2958)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43C1 #4AC143
analogous
#7B43C1 #BA43C1 #C14389
triadic
#BA43C1 #C1BA43 #43C1BA
tetradic
#BA43C1 #C17B43 #4AC143 #4389C1
square
#BA43C1 #C17B43 #4AC143 #4389C1
split-complementary
#BA43C1 #89C143 #43C17B
monochromatic
#642267 #903195 #BA43C1 #CB71D0 #DC9FDF

Accessibility & contrast

On white

4.51
#BA43C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BA43C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43C1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43C1#FFFFFF#000000##000000
##BA43C11.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#BE567C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba43c1;
/* rgb */ color: rgb(186, 67, 193);
/* oklch */ color: oklch(59.5% 0.211 325.5);
Tailwind
colors: {
  custom: {
    50: '#d280d4',
    500: '#ba43c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba43c1;
$custom-light: #d280d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43c1",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 193
  },
  "hsl": {
    "h": 296.667,
    "s": 50.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.21098,
    "h": 325.5
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#BA43C1
secondary
#97CC94
accent
#DA4E56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA43C1

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

Preview Lab → · Contrast checker → · Palette generator →

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