#BA3CB1#BA3CB1

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

Color values

HEX#BA3CB1
RGBrgb(186, 60, 177)
HSLhsl(304, 51%, 48%)
HSVhsv(304, 68%, 73%)
CMYKcmyk(0%, 67.7%, 4.8%, 27.1%)
CIE-LABlab(48.07, 63.53, -36.58)
CIE-LCHlch(48.07, 73.31, 330.07°)
OKLaboklab(57.94% 0.1808 -0.1006)
OKLCHoklch(57.94% 0.207 330.9)
XYZxyz(29.8013, 16.8474, 43.2687)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB1 #3CBA45
analogous
#843CBA #BA3CB1 #BA3C72
triadic
#BA3CB1 #B1BA3C #3CB1BA
tetradic
#BA3CB1 #BA843C #3CBA45 #3C72BA
square
#BA3CB1 #BA843C #3CBA45 #3C72BA
split-complementary
#BA3CB1 #72BA3C #3CBA84
monochromatic
#5D1E59 #8C2D85 #BA3CB1 #CE66C6 #DC94D7

Accessibility & contrast

On white

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

On black

4.37
#BA3CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3CB1#FFFFFF#000000##FFFFFF
##BA3CB11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3267B4
Deuteranopia (green-blind)
#6178AE
Tritanopia (blue-blind)
#C14A72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3cb1;
/* rgb */ color: rgb(186, 60, 177);
/* oklch */ color: oklch(57.9% 0.207 330.9);
Tailwind
colors: {
  custom: {
    50: '#d27cc9',
    500: '#ba3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb1;
$custom-light: #d27cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb1",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 304.286,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.20694,
    "h": 330.9
  },
  "luminance": 0.16845
}

Semantic roles & 50–950 ramp

primary
#BA3CB1
secondary
#8AC88E
accent
#DB574D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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