#BA43BD#BA43BD

#BA43BD is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.208 H 326.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA43BD
RGBrgb(186, 67, 189)
HSLhsl(299, 48%, 50%)
HSVhsv(299, 65%, 74%)
CMYKcmyk(1.6%, 64.6%, 0%, 25.9%)
CIE-LABlab(49.65, 62.81, -41.08)
CIE-LCHlch(49.65, 75.06, 326.81°)
OKLaboklab(59.29% 0.1737 -0.1137)
OKLCHoklch(59.29% 0.208 326.8)
XYZxyz(31.4416, 18.1296, 49.9775)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43BD #46BD43
analogous
#7D43BD #BA43BD #BD4383
triadic
#BA43BD #BDBA43 #43BDBA
tetradic
#BA43BD #BD7D43 #46BD43 #4383BD
square
#BA43BD #BD7D43 #46BD43 #4383BD
split-complementary
#BA43BD #83BD43 #43BD7D
monochromatic
#612363 #8E3390 #BA43BD #CB70CD #DB9EDD

Accessibility & contrast

On white

4.54
#BA43BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA43BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43BD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43BD#FFFFFF#000000##000000
##BA43BD1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#5E7BBA
Tritanopia (blue-blind)
#BF547A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba43bd;
/* rgb */ color: rgb(186, 67, 189);
/* oklch */ color: oklch(59.3% 0.208 326.8);
Tailwind
colors: {
  custom: {
    50: '#d280d1',
    500: '#ba43bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba43bd;
$custom-light: #d280d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43bd",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 298.525,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.20765,
    "h": 326.8
  },
  "luminance": 0.18128
}

Semantic roles & 50–950 ramp

primary
#BA43BD
secondary
#94C993
accent
#D85054
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA43BD

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

Preview Lab → · Contrast checker → · Palette generator →

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