#BA3DB5#BA3DB5

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

Color values

HEX#BA3DB5
RGBrgb(186, 61, 181)
HSLhsl(302, 51%, 48%)
HSVhsv(302, 67%, 73%)
CMYKcmyk(0%, 67.2%, 2.7%, 27.1%)
CIE-LABlab(48.40, 63.80, -38.39)
CIE-LCHlch(48.40, 74.46, 328.96°)
OKLaboklab(58.25% 0.18 -0.1059)
OKLCHoklch(58.25% 0.209 329.5)
XYZxyz(30.2587, 17.1150, 45.4169)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DB5 #3DBA42
analogous
#803DBA #BA3DB5 #BA3D76
triadic
#BA3DB5 #B5BA3D #3DB5BA
tetradic
#BA3DB5 #BA803D #3DBA42 #3D76BA
square
#BA3DB5 #BA803D #3DBA42 #3D76BA
split-complementary
#BA3DB5 #76BA3D #3DBA80
monochromatic
#5E1F5B #8C2E88 #BA3DB5 #CD67C9 #DC95D9

Accessibility & contrast

On white

4.75
#BA3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BA3DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DB5
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DB5#FFFFFF#000000##FFFFFF
##BA3DB51.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3068B8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#C14C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3db5;
/* rgb */ color: rgb(186, 61, 181);
/* oklch */ color: oklch(58.2% 0.209 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27dcb',
    500: '#ba3db5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3db5;
$custom-light: #d27dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3db5",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 302.4,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58249,
    "c": 0.20881,
    "h": 329.5
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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