#BA3BB5#BA3BB5

#BA3BB5 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.211 H 329.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#BA3BB5
RGBrgb(186, 59, 181)
HSLhsl(302, 52%, 48%)
HSVhsv(302, 68%, 73%)
CMYKcmyk(0%, 68.3%, 2.7%, 27.1%)
CIE-LABlab(48.14, 64.55, -38.81)
CIE-LCHlch(48.14, 75.31, 328.98°)
OKLaboklab(58.06% 0.1821 -0.1071)
OKLCHoklch(58.06% 0.211 329.5)
XYZxyz(30.1539, 16.9054, 45.3820)
Luminance0.1690 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB5 #3BBA40
analogous
#7F3BBA #BA3BB5 #BA3B75
triadic
#BA3BB5 #B5BA3B #3BB5BA
tetradic
#BA3BB5 #BA7F3B #3BBA40 #3B75BA
square
#BA3BB5 #BA7F3B #3BBA40 #3B75BA
split-complementary
#BA3BB5 #75BA3B #3BBA7F
monochromatic
#5D1E5B #8C2C88 #BA3BB5 #CE64CA #DD93DA

Accessibility & contrast

On white

4.79
#BA3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA3BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB5#FFFFFF#000000##FFFFFF
##BA3BB51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3bb5;
/* rgb */ color: rgb(186, 59, 181);
/* oklch */ color: oklch(58.1% 0.211 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27ccb',
    500: '#ba3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb5;
$custom-light: #d27ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb5",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 302.362,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.21124,
    "h": 329.5
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#BA3BB5
secondary
#89C88B
accent
#DB524D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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