#BA43DB#BA43DB

#BA43DB is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.233 H 318.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA43DB
RGBrgb(186, 67, 219)
HSLhsl(287, 68%, 56%)
HSVhsv(287, 69%, 86%)
CMYKcmyk(15.1%, 69.4%, 0%, 14.1%)
CIE-LABlab(51.35, 68.23, -55.62)
CIE-LCHlch(51.35, 88.03, 320.82°)
OKLaboklab(61.05% 0.1733 -0.1561)
OKLCHoklch(61.05% 0.233 318)
XYZxyz(35.0412, 19.5694, 68.9356)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43DB #64DB43
analogous
#6E43DB #BA43DB #DB43B0
triadic
#BA43DB #DBBA43 #43DBBA
tetradic
#BA43DB #DB6E43 #64DB43 #43B0DB
square
#BA43DB #DB6E43 #64DB43 #43B0DB
split-complementary
#BA43DB #B0DB43 #43DB6E
monochromatic
#711A89 #9C24BD #BA43DB #CD76E5 #E0AAEF

Accessibility & contrast

On white

4.27
#BA43DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BA43DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43DB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43DB#FFFFFF#000000##000000
##BA43DB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#B9618B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba43db;
/* rgb */ color: rgb(186, 67, 219);
/* oklch */ color: oklch(61.0% 0.233 318.0);
Tailwind
colors: {
  custom: {
    50: '#d381e7',
    500: '#ba43db',
    950: '#000000',
  },
}
SCSS
$custom: #ba43db;
$custom-light: #d381e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43db",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 286.974,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61048,
    "c": 0.23325,
    "h": 318
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#BA43DB
secondary
#ABDC9E
accent
#EB3D63
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA43DB

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

Preview Lab → · Contrast checker → · Palette generator →

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