#BA3BB1#BA3BB1

#BA3BB1 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.8% C 0.208 H 330.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA3BB1
RGBrgb(186, 59, 177)
HSLhsl(304, 52%, 48%)
HSVhsv(304, 68%, 73%)
CMYKcmyk(0%, 68.3%, 4.8%, 27.1%)
CIE-LABlab(47.94, 63.90, -36.79)
CIE-LCHlch(47.94, 73.73, 330.07°)
OKLaboklab(57.84% 0.1819 -0.1012)
OKLCHoklch(57.84% 0.208 330.9)
XYZxyz(29.7494, 16.7436, 43.2514)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB1 #3BBA44
analogous
#833BBA #BA3BB1 #BA3B71
triadic
#BA3BB1 #B1BA3B #3BB1BA
tetradic
#BA3BB1 #BA833B #3BBA44 #3B71BA
square
#BA3BB1 #BA833B #3BBA44 #3B71BA
split-complementary
#BA3BB1 #71BA3B #3BBA83
monochromatic
#5D1E59 #8C2C85 #BA3BB1 #CE64C6 #DD93D7

Accessibility & contrast

On white

4.83
#BA3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA3BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB1#FFFFFF#000000##FFFFFF
##BA3BB11.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B4
Deuteranopia (green-blind)
#6078AE
Tritanopia (blue-blind)
#C14971
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb1;
/* rgb */ color: rgb(186, 59, 177);
/* oklch */ color: oklch(57.8% 0.208 330.9);
Tailwind
colors: {
  custom: {
    50: '#d27cc9',
    500: '#ba3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb1;
$custom-light: #d27cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb1",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 304.252,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57844,
    "c": 0.20816,
    "h": 330.9
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

primary
#BA3BB1
secondary
#89C88D
accent
#DB574D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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