#BA43D8#BA43D8

#BA43D8 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.231 H 318.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA43D8
RGBrgb(186, 67, 216)
HSLhsl(288, 66%, 55%)
HSVhsv(288, 69%, 85%)
CMYKcmyk(13.9%, 69%, 0%, 15.3%)
CIE-LABlab(51.17, 67.67, -54.20)
CIE-LCHlch(51.17, 86.70, 321.31°)
OKLaboklab(60.86% 0.1735 -0.1519)
OKLCHoklch(60.86% 0.231 318.8)
XYZxyz(34.6499, 19.4129, 66.8743)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43D8 #61D843
analogous
#6F43D8 #BA43D8 #D843AC
triadic
#BA43D8 #D8BA43 #43D8BA
tetradic
#BA43D8 #D86F43 #61D843 #43ACD8
square
#BA43D8 #D86F43 #61D843 #43ACD8
split-complementary
#BA43D8 #ACD843 #43D86F
monochromatic
#701C85 #9A26B8 #BA43D8 #CD76E3 #DFA8ED

Accessibility & contrast

On white

4.30
#BA43D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA43D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43D8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43D8#FFFFFF#000000##000000
##BA43D81.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#4C7ED5
Tritanopia (blue-blind)
#BA5F89
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba43d8;
/* rgb */ color: rgb(186, 67, 216);
/* oklch */ color: oklch(60.9% 0.231 318.8);
Tailwind
colors: {
  custom: {
    50: '#d381e5',
    500: '#ba43d8',
    950: '#000000',
  },
}
SCSS
$custom: #ba43d8;
$custom-light: #d381e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43d8",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 216
  },
  "hsl": {
    "h": 287.919,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.23064,
    "h": 318.8
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#BA43D8
secondary
#A9DA9C
accent
#E93F61
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43D8

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

Preview Lab → · Contrast checker → · Palette generator →

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