#BA43D9#BA43D9

#BA43D9 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.232 H 318.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA43D9
RGBrgb(186, 67, 217)
HSLhsl(288, 66%, 56%)
HSVhsv(288, 69%, 85%)
CMYKcmyk(14.3%, 69.1%, 0%, 14.9%)
CIE-LABlab(51.23, 67.86, -54.67)
CIE-LCHlch(51.23, 87.14, 321.14°)
OKLaboklab(60.92% 0.1735 -0.1533)
OKLCHoklch(60.92% 0.232 318.5)
XYZxyz(34.7795, 19.4647, 67.5573)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43D9 #62D943
analogous
#6F43D9 #BA43D9 #D943AD
triadic
#BA43D9 #D9BA43 #43D9BA
tetradic
#BA43D9 #D96F43 #62D943 #43ADD9
square
#BA43D9 #D96F43 #62D943 #43ADD9
split-complementary
#BA43D9 #ADD943 #43D96F
monochromatic
#701B86 #9B25B9 #BA43D9 #CD76E3 #DFA9EE

Accessibility & contrast

On white

4.29
#BA43D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA43D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43D9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43D9#FFFFFF#000000##000000
##BA43D91.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#4B7ED5
Tritanopia (blue-blind)
#BA6089
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba43d9;
/* rgb */ color: rgb(186, 67, 217);
/* oklch */ color: oklch(60.9% 0.232 318.5);
Tailwind
colors: {
  custom: {
    50: '#d381e5',
    500: '#ba43d9',
    950: '#000000',
  },
}
SCSS
$custom: #ba43d9;
$custom-light: #d381e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43d9",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 217
  },
  "hsl": {
    "h": 287.6,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60924,
    "c": 0.23151,
    "h": 318.5
  },
  "luminance": 0.19463
}

Semantic roles & 50–950 ramp

primary
#BA43D9
secondary
#AADB9D
accent
#E93F62
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43D9

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

Preview Lab → · Contrast checker → · Palette generator →

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