#BA44DB#BA44DB

#BA44DB is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.232 H 317.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA44DB
RGBrgb(186, 68, 219)
HSLhsl(287, 68%, 56%)
HSVhsv(287, 69%, 86%)
CMYKcmyk(15.1%, 68.9%, 0%, 14.1%)
CIE-LABlab(51.48, 67.85, -55.40)
CIE-LCHlch(51.48, 87.59, 320.77°)
OKLaboklab(61.15% 0.1723 -0.1555)
OKLCHoklch(61.15% 0.232 317.9)
XYZxyz(35.1012, 19.6894, 68.9556)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA44DB #65DB44
analogous
#6F44DB #BA44DB #DB44B1
triadic
#BA44DB #DBBA44 #44DBBA
tetradic
#BA44DB #DB6F44 #65DB44 #44B1DB
square
#BA44DB #DB6F44 #65DB44 #44B1DB
split-complementary
#BA44DB #B1DB44 #44DB6F
monochromatic
#721B8A #9C24BD #BA44DB #CD77E5 #E0ABEF

Accessibility & contrast

On white

4.25
#BA44DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BA44DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA44DB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA44DB#FFFFFF#000000##000000
##BA44DB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#4A7ED7
Tritanopia (blue-blind)
#B9618B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba44db;
/* rgb */ color: rgb(186, 68, 219);
/* oklch */ color: oklch(61.1% 0.232 317.9);
Tailwind
colors: {
  custom: {
    50: '#d381e7',
    500: '#ba44db',
    950: '#000000',
  },
}
SCSS
$custom: #ba44db;
$custom-light: #d381e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba44db",
  "rgb": {
    "r": 186,
    "g": 68,
    "b": 219
  },
  "hsl": {
    "h": 286.887,
    "s": 67.713,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61146,
    "c": 0.23208,
    "h": 317.9
  },
  "luminance": 0.19688
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA44DB

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

Preview Lab → · Contrast checker → · Palette generator →

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