#BA3BB4#BA3BB4

#BA3BB4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.210 H 329.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA3BB4
RGBrgb(186, 59, 180)
HSLhsl(303, 52%, 48%)
HSVhsv(303, 68%, 73%)
CMYKcmyk(0%, 68.3%, 3.2%, 27.1%)
CIE-LABlab(48.09, 64.38, -38.30)
CIE-LCHlch(48.09, 74.92, 329.25°)
OKLaboklab(58.01% 0.1821 -0.1056)
OKLCHoklch(58.01% 0.21 329.9)
XYZxyz(30.0517, 16.8645, 44.8435)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB4 #3BBA41
analogous
#813BBA #BA3BB4 #BA3B74
triadic
#BA3BB4 #B4BA3B #3BB4BA
tetradic
#BA3BB4 #BA813B #3BBA41 #3B74BA
square
#BA3BB4 #BA813B #3BBA41 #3B74BA
split-complementary
#BA3BB4 #74BA3B #3BBA81
monochromatic
#5D1E5A #8C2C87 #BA3BB4 #CE64C9 #DD93D9

Accessibility & contrast

On white

4.80
#BA3BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA3BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB4#FFFFFF#000000##FFFFFF
##BA3BB41.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B7
Deuteranopia (green-blind)
#5F78B1
Tritanopia (blue-blind)
#C14B73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb4;
/* rgb */ color: rgb(186, 59, 180);
/* oklch */ color: oklch(58.0% 0.210 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27ccb',
    500: '#ba3bb4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb4;
$custom-light: #d27ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb4",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 180
  },
  "hsl": {
    "h": 302.835,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58005,
    "c": 0.21046,
    "h": 329.9
  },
  "luminance": 0.16862
}

Semantic roles & 50–950 ramp

primary
#BA3BB4
secondary
#89C88C
accent
#DB534D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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