#BA3BB2#BA3BB2

#BA3BB2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 57.9% C 0.209 H 330.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA3BB2
RGBrgb(186, 59, 178)
HSLhsl(304, 52%, 48%)
HSVhsv(304, 68%, 73%)
CMYKcmyk(0%, 68.3%, 4.3%, 27.1%)
CIE-LABlab(47.99, 64.06, -37.29)
CIE-LCHlch(47.99, 74.12, 329.79°)
OKLaboklab(57.9% 0.182 -0.1027)
OKLCHoklch(57.9% 0.209 330.6)
XYZxyz(29.8494, 16.7836, 43.7783)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB2 #3BBA43
analogous
#833BBA #BA3BB2 #BA3B72
triadic
#BA3BB2 #B2BA3B #3BB2BA
tetradic
#BA3BB2 #BA833B #3BBA43 #3B72BA
square
#BA3BB2 #BA833B #3BBA43 #3B72BA
split-complementary
#BA3BB2 #72BA3B #3BBA83
monochromatic
#5D1E59 #8C2C86 #BA3BB2 #CE64C7 #DD93D8

Accessibility & contrast

On white

4.82
#BA3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA3BB2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BB2#FFFFFF#000000##FFFFFF
##BA3BB21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3067B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#C14A72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb2;
/* rgb */ color: rgb(186, 59, 178);
/* oklch */ color: oklch(57.9% 0.209 330.6);
Tailwind
colors: {
  custom: {
    50: '#d27cc9',
    500: '#ba3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb2;
$custom-light: #d27cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb2",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 303.78,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.20892,
    "h": 330.6
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#BA3BB2
secondary
#89C88D
accent
#DB564D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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