#BA3DB1#BA3DB1

#BA3DB1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.0% C 0.206 H 330.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA3DB1
RGBrgb(186, 61, 177)
HSLhsl(304, 51%, 48%)
HSVhsv(304, 67%, 73%)
CMYKcmyk(0%, 67.2%, 4.8%, 27.1%)
CIE-LABlab(48.20, 63.15, -36.37)
CIE-LCHlch(48.20, 72.87, 330.06°)
OKLaboklab(58.04% 0.1797 -0.1)
OKLCHoklch(58.04% 0.206 330.9)
XYZxyz(29.8542, 16.9532, 43.2863)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DB1 #3DBA46
analogous
#843DBA #BA3DB1 #BA3D72
triadic
#BA3DB1 #B1BA3D #3DB1BA
tetradic
#BA3DB1 #BA843D #3DBA46 #3D72BA
square
#BA3DB1 #BA843D #3DBA46 #3D72BA
split-complementary
#BA3DB1 #72BA3D #3DBA84
monochromatic
#5E1F59 #8C2E85 #BA3DB1 #CD67C6 #DC95D7

Accessibility & contrast

On white

4.78
#BA3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA3DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DB1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DB1#FFFFFF#000000##FFFFFF
##BA3DB11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3467B4
Deuteranopia (green-blind)
#6179AE
Tritanopia (blue-blind)
#C14B72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3db1;
/* rgb */ color: rgb(186, 61, 177);
/* oklch */ color: oklch(58.0% 0.206 330.9);
Tailwind
colors: {
  custom: {
    50: '#d27dc9',
    500: '#ba3db1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3db1;
$custom-light: #d27dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3db1",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 304.32,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58036,
    "c": 0.20569,
    "h": 330.9
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#BA3DB1
secondary
#8BC88F
accent
#DA584E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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