#BA3BB3#BA3BB3

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

Color values

HEX#BA3BB3
RGBrgb(186, 59, 179)
HSLhsl(303, 52%, 48%)
HSVhsv(303, 68%, 73%)
CMYKcmyk(0%, 68.3%, 3.8%, 27.1%)
CIE-LABlab(48.04, 64.22, -37.80)
CIE-LCHlch(48.04, 74.52, 329.52°)
OKLaboklab(57.95% 0.182 -0.1041)
OKLCHoklch(57.95% 0.21 330.2)
XYZxyz(29.9502, 16.8239, 44.3090)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB3 #3BBA42
analogous
#813BBA #BA3BB3 #BA3B73
triadic
#BA3BB3 #B3BA3B #3BB3BA
tetradic
#BA3BB3 #BA813B #3BBA42 #3B73BA
square
#BA3BB3 #BA813B #3BBA42 #3B73BA
split-complementary
#BA3BB3 #73BA3B #3BBA81
monochromatic
#5D1E5A #8C2C86 #BA3BB3 #CE64C8 #DD93D9

Accessibility & contrast

On white

4.81
#BA3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#BA3BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BB3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB3#FFFFFF#000000##FFFFFF
##BA3BB31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F67B6
Deuteranopia (green-blind)
#5F78B0
Tritanopia (blue-blind)
#C14A72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb3;
/* rgb */ color: rgb(186, 59, 179);
/* oklch */ color: oklch(58.0% 0.210 330.2);
Tailwind
colors: {
  custom: {
    50: '#d27cca',
    500: '#ba3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb3;
$custom-light: #d27cca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb3",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 303.307,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57951,
    "c": 0.20969,
    "h": 330.2
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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