#BA43D0#BA43D0

#BA43D0 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.4% C 0.224 H 321.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA43D0
RGBrgb(186, 67, 208)
HSLhsl(291, 60%, 54%)
HSVhsv(291, 68%, 82%)
CMYKcmyk(10.6%, 67.8%, 0%, 18.4%)
CIE-LABlab(50.70, 66.19, -50.38)
CIE-LCHlch(50.70, 83.18, 322.72°)
OKLaboklab(60.38% 0.1739 -0.1408)
OKLCHoklch(60.38% 0.224 321)
XYZxyz(33.6407, 19.0092, 61.5595)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43D0 #59D043
analogous
#7443D0 #BA43D0 #D043A0
triadic
#BA43D0 #D0BA43 #43D0BA
tetradic
#BA43D0 #D07443 #59D043 #43A0D0
square
#BA43D0 #D07443 #59D043 #43A0D0
split-complementary
#BA43D0 #A0D043 #43D074
monochromatic
#6C1F7A #972BAB #BA43D0 #CC74DC #DEA5E8

Accessibility & contrast

On white

4.37
#BA43D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA43D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43D0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43D0#FFFFFF#000000##000000
##BA43D01.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F70D4
Deuteranopia (green-blind)
#527DCD
Tritanopia (blue-blind)
#BB5C85
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba43d0;
/* rgb */ color: rgb(186, 67, 208);
/* oklch */ color: oklch(60.4% 0.224 321.0);
Tailwind
colors: {
  custom: {
    50: '#d281df',
    500: '#ba43d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba43d0;
$custom-light: #d281df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43d0",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 208
  },
  "hsl": {
    "h": 290.638,
    "s": 60,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60375,
    "c": 0.22371,
    "h": 321
  },
  "luminance": 0.19007
}

Semantic roles & 50–950 ramp

primary
#BA43D0
secondary
#A3D599
accent
#E3455D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43D0

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

Preview Lab → · Contrast checker → · Palette generator →

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