#BA3BB6#BA3BB6

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

Color values

HEX#BA3BB6
RGBrgb(186, 59, 182)
HSLhsl(302, 52%, 48%)
HSVhsv(302, 68%, 73%)
CMYKcmyk(0%, 68.3%, 2.2%, 27.1%)
CIE-LABlab(48.19, 64.71, -39.31)
CIE-LCHlch(48.19, 75.71, 328.72°)
OKLaboklab(58.11% 0.1821 -0.1085)
OKLCHoklch(58.11% 0.212 329.2)
XYZxyz(30.2569, 16.9466, 45.9243)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB6 #3BBA3F
analogous
#7E3BBA #BA3BB6 #BA3B76
triadic
#BA3BB6 #B6BA3B #3BB6BA
tetradic
#BA3BB6 #BA7E3B #3BBA3F #3B76BA
square
#BA3BB6 #BA7E3B #3BBA3F #3B76BA
split-complementary
#BA3BB6 #76BA3B #3BBA7E
monochromatic
#5D1E5B #8C2C89 #BA3BB6 #CE64CB #DD93DA

Accessibility & contrast

On white

4.78
#BA3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA3BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB6#FFFFFF#000000##FFFFFF
##BA3BB61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C67BA
Deuteranopia (green-blind)
#5E78B3
Tritanopia (blue-blind)
#C04B74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb6;
/* rgb */ color: rgb(186, 59, 182);
/* oklch */ color: oklch(58.1% 0.212 329.2);
Tailwind
colors: {
  custom: {
    50: '#d27ccc',
    500: '#ba3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb6;
$custom-light: #d27ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb6",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 301.89,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58113,
    "c": 0.21202,
    "h": 329.2
  },
  "luminance": 0.16944
}

Semantic roles & 50–950 ramp

primary
#BA3BB6
secondary
#89C88B
accent
#DB514D
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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