#BA3CB5#BA3CB5

#BA3CB5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.2% C 0.210 H 329.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB5
RGBrgb(186, 60, 181)
HSLhsl(302, 51%, 48%)
HSVhsv(302, 68%, 73%)
CMYKcmyk(0%, 67.7%, 2.7%, 27.1%)
CIE-LABlab(48.27, 64.18, -38.60)
CIE-LCHlch(48.27, 74.89, 328.97°)
OKLaboklab(58.15% 0.181 -0.1065)
OKLCHoklch(58.15% 0.21 329.5)
XYZxyz(30.2058, 17.0092, 45.3993)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB5 #3CBA41
analogous
#803CBA #BA3CB5 #BA3C76
triadic
#BA3CB5 #B5BA3C #3CB5BA
tetradic
#BA3CB5 #BA803C #3CBA41 #3C76BA
square
#BA3CB5 #BA803C #3CBA41 #3C76BA
split-complementary
#BA3CB5 #76BA3C #3CBA80
monochromatic
#5D1E5B #8C2D88 #BA3CB5 #CE66C9 #DC94DA

Accessibility & contrast

On white

4.77
#BA3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#BA3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB5#FFFFFF#000000##FFFFFF
##BA3CB51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E68B8
Deuteranopia (green-blind)
#5F79B2
Tritanopia (blue-blind)
#C14C74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3cb5;
/* rgb */ color: rgb(186, 60, 181);
/* oklch */ color: oklch(58.2% 0.210 329.5);
Tailwind
colors: {
  custom: {
    50: '#d27ccb',
    500: '#ba3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb5;
$custom-light: #d27ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb5",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 302.381,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58153,
    "c": 0.21003,
    "h": 329.5
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#BA3CB5
secondary
#8AC88C
accent
#DB534D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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