#BA43BA#BA43BA

#BA43BA is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 327.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA43BA
RGBrgb(186, 67, 186)
HSLhsl(300, 47%, 50%)
HSVhsv(300, 64%, 73%)
CMYKcmyk(0%, 64%, 0%, 27.1%)
CIE-LABlab(49.50, 62.30, -39.58)
CIE-LCHlch(49.50, 73.81, 327.57°)
OKLaboklab(59.12% 0.1736 -0.1094)
OKLCHoklch(59.12% 0.205 327.8)
XYZxyz(31.1193, 18.0007, 48.2803)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43BA #43BA43
analogous
#7F43BA #BA43BA #BA437F
triadic
#BA43BA #BABA43 #43BABA
tetradic
#BA43BA #BA7F43 #43BA43 #437FBA
square
#BA43BA #BA7F43 #43BA43 #437FBA
split-complementary
#BA43BA #7FBA43 #43BA7F
monochromatic
#602360 #8D338D #BA43BA #CB6FCB #DB9CDB

Accessibility & contrast

On white

4.57
#BA43BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA43BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43BA#FFFFFF#000000##000000
##BA43BA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#607BB7
Tritanopia (blue-blind)
#C05379
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba43ba;
/* rgb */ color: rgb(186, 67, 186);
/* oklch */ color: oklch(59.1% 0.205 327.8);
Tailwind
colors: {
  custom: {
    50: '#d280cf',
    500: '#ba43ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba43ba;
$custom-light: #d280cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43ba",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.59122,
    "c": 0.20518,
    "h": 327.8
  },
  "luminance": 0.17999
}

Semantic roles & 50–950 ramp

primary
#BA43BA
secondary
#91C891
accent
#D75151
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA43BA

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

Preview Lab → · Contrast checker → · Palette generator →

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