#BA43C5#BA43C5

#BA43C5 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.214 H 324.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA43C5
RGBrgb(186, 67, 197)
HSLhsl(295, 53%, 52%)
HSVhsv(295, 66%, 77%)
CMYKcmyk(5.6%, 66%, 0%, 22.7%)
CIE-LABlab(50.08, 64.21, -45.04)
CIE-LCHlch(50.08, 78.43, 324.95°)
OKLaboklab(59.73% 0.174 -0.1252)
OKLCHoklch(59.73% 0.214 324.3)
XYZxyz(32.3340, 18.4865, 54.6777)
Luminance0.1848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43C5 #4EC543
analogous
#7943C5 #BA43C5 #C5438F
triadic
#BA43C5 #C5BA43 #43C5BA
tetradic
#BA43C5 #C57943 #4EC543 #438FC5
square
#BA43C5 #C57943 #4EC543 #438FC5
split-complementary
#BA43C5 #8FC543 #43C579
monochromatic
#66216C #92309B #BA43C5 #CB72D3 #DCA1E2

Accessibility & contrast

On white

4.47
#BA43C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA43C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43C5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43C5#FFFFFF#000000##000000
##BA43C51.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#266EC9
Deuteranopia (green-blind)
#5A7CC2
Tritanopia (blue-blind)
#BE577F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba43c5;
/* rgb */ color: rgb(186, 67, 197);
/* oklch */ color: oklch(59.7% 0.214 324.3);
Tailwind
colors: {
  custom: {
    50: '#d280d7',
    500: '#ba43c5',
    950: '#000000',
  },
}
SCSS
$custom: #ba43c5;
$custom-light: #d280d7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43c5",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 294.923,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59733,
    "c": 0.21433,
    "h": 324.3
  },
  "luminance": 0.18485
}

Semantic roles & 50–950 ramp

primary
#BA43C5
secondary
#9ACE95
accent
#DC4C58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA43C5

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

Preview Lab → · Contrast checker → · Palette generator →

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