#BA3DB3#BA3DB3

#BA3DB3 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.207 H 330.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA3DB3
RGBrgb(186, 61, 179)
HSLhsl(303, 51%, 48%)
HSVhsv(303, 67%, 73%)
CMYKcmyk(0%, 67.2%, 3.8%, 27.1%)
CIE-LABlab(48.30, 63.48, -37.38)
CIE-LCHlch(48.30, 73.67, 329.51°)
OKLaboklab(58.14% 0.1799 -0.1029)
OKLCHoklch(58.14% 0.207 330.2)
XYZxyz(30.0550, 17.0335, 44.3439)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DB3 #3DBA44
analogous
#823DBA #BA3DB3 #BA3D74
triadic
#BA3DB3 #B3BA3D #3DB3BA
tetradic
#BA3DB3 #BA823D #3DBA44 #3D74BA
square
#BA3DB3 #BA823D #3DBA44 #3D74BA
split-complementary
#BA3DB3 #74BA3D #3DBA82
monochromatic
#5E1F5A #8C2E87 #BA3DB3 #CD67C7 #DC95D8

Accessibility & contrast

On white

4.77
#BA3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3DB3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DB3#FFFFFF#000000##FFFFFF
##BA3DB31.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#6079B0
Tritanopia (blue-blind)
#C14C73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3db3;
/* rgb */ color: rgb(186, 61, 179);
/* oklch */ color: oklch(58.1% 0.207 330.2);
Tailwind
colors: {
  custom: {
    50: '#d27dca',
    500: '#ba3db3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3db3;
$custom-light: #d27dca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3db3",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 303.36,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.20724,
    "h": 330.2
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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