#BA3DB4#BA3DB4

#BA3DB4 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.2% C 0.208 H 329.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA3DB4
RGBrgb(186, 61, 180)
HSLhsl(303, 51%, 48%)
HSVhsv(303, 67%, 73%)
CMYKcmyk(0%, 67.2%, 3.2%, 27.1%)
CIE-LABlab(48.35, 63.64, -37.89)
CIE-LCHlch(48.35, 74.06, 329.23°)
OKLaboklab(58.19% 0.1799 -0.1044)
OKLCHoklch(58.19% 0.208 329.9)
XYZxyz(30.1565, 17.0741, 44.8785)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DB4 #3DBA43
analogous
#813DBA #BA3DB4 #BA3D75
triadic
#BA3DB4 #B4BA3D #3DB4BA
tetradic
#BA3DB4 #BA813D #3DBA43 #3D75BA
square
#BA3DB4 #BA813D #3DBA43 #3D75BA
split-complementary
#BA3DB4 #75BA3D #3DBA81
monochromatic
#5E1F5B #8C2E87 #BA3DB4 #CD67C8 #DC95D9

Accessibility & contrast

On white

4.76
#BA3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BA3DB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DB4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DB4#FFFFFF#000000##FFFFFF
##BA3DB41.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3168B7
Deuteranopia (green-blind)
#6079B1
Tritanopia (blue-blind)
#C14C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3db4;
/* rgb */ color: rgb(186, 61, 180);
/* oklch */ color: oklch(58.2% 0.208 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27dcb',
    500: '#ba3db4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3db4;
$custom-light: #d27dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3db4",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 302.88,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.20802,
    "h": 329.9
  },
  "luminance": 0.17072
}

Semantic roles & 50–950 ramp

primary
#BA3DB4
secondary
#8BC88E
accent
#DA544E
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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