#BA3DB6#BA3DB6

#BA3DB6 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.3% C 0.210 H 329.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BA3DB6
RGBrgb(186, 61, 182)
HSLhsl(302, 51%, 48%)
HSVhsv(302, 67%, 73%)
CMYKcmyk(0%, 67.2%, 2.2%, 27.1%)
CIE-LABlab(48.46, 63.97, -38.89)
CIE-LCHlch(48.46, 74.86, 328.70°)
OKLaboklab(58.3% 0.18 -0.1073)
OKLCHoklch(58.3% 0.21 329.2)
XYZxyz(30.3617, 17.1562, 45.9592)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DB6 #3DBA41
analogous
#7F3DBA #BA3DB6 #BA3D77
triadic
#BA3DB6 #B6BA3D #3DB6BA
tetradic
#BA3DB6 #BA7F3D #3DBA41 #3D77BA
square
#BA3DB6 #BA7F3D #3DBA41 #3D77BA
split-complementary
#BA3DB6 #77BA3D #3DBA7F
monochromatic
#5E1F5C #8C2E89 #BA3DB6 #CD67CA #DC95DA

Accessibility & contrast

On white

4.74
#BA3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BA3DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DB6
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DB6#FFFFFF#000000##FFFFFF
##BA3DB61.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#5F79B3
Tritanopia (blue-blind)
#C04D75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3db6;
/* rgb */ color: rgb(186, 61, 182);
/* oklch */ color: oklch(58.3% 0.210 329.2);
Tailwind
colors: {
  custom: {
    50: '#d27dcc',
    500: '#ba3db6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3db6;
$custom-light: #d27dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3db6",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 301.92,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.2096,
    "h": 329.2
  },
  "luminance": 0.17154
}

Semantic roles & 50–950 ramp

primary
#BA3DB6
secondary
#8BC88D
accent
#DA524E
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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