#BA3BAD#BA3BAD

#BA3BAD is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.6% C 0.205 H 332.3°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA3BAD
RGBrgb(186, 59, 173)
HSLhsl(306, 52%, 48%)
HSVhsv(306, 68%, 73%)
CMYKcmyk(0%, 68.3%, 7%, 27.1%)
CIE-LABlab(47.73, 63.26, -34.75)
CIE-LCHlch(47.73, 72.18, 331.22°)
OKLaboklab(57.63% 0.1816 -0.0953)
OKLCHoklch(57.63% 0.205 332.3)
XYZxyz(29.3565, 16.5865, 41.1824)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BAD #3BBA48
analogous
#883BBA #BA3BAD #BA3B6D
triadic
#BA3BAD #ADBA3B #3BADBA
tetradic
#BA3BAD #BA883B #3BBA48 #3B6DBA
square
#BA3BAD #BA883B #3BBA48 #3B6DBA
split-complementary
#BA3BAD #6DBA3B #3BBA88
monochromatic
#5D1E57 #8C2C82 #BA3BAD #CE64C3 #DD93D5

Accessibility & contrast

On white

4.86
#BA3BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA3BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BAD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BAD#FFFFFF#000000##FFFFFF
##BA3BAD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#C2476F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3bad;
/* rgb */ color: rgb(186, 59, 173);
/* oklch */ color: oklch(57.6% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#d27cc6',
    500: '#ba3bad',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bad;
$custom-light: #d27cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bad",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 306.142,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.20511,
    "h": 332.3
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#BA3BAD
secondary
#89C88F
accent
#DB5B4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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