#BA3CB2#BA3CB2

#BA3CB2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.0% C 0.208 H 330.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB2
RGBrgb(186, 60, 178)
HSLhsl(304, 51%, 48%)
HSVhsv(304, 68%, 73%)
CMYKcmyk(0%, 67.7%, 4.3%, 27.1%)
CIE-LABlab(48.12, 63.69, -37.09)
CIE-LCHlch(48.12, 73.70, 329.79°)
OKLaboklab(57.99% 0.1809 -0.1021)
OKLCHoklch(57.99% 0.208 330.6)
XYZxyz(29.9013, 16.8874, 43.7956)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB2 #3CBA44
analogous
#833CBA #BA3CB2 #BA3C73
triadic
#BA3CB2 #B2BA3C #3CB2BA
tetradic
#BA3CB2 #BA833C #3CBA44 #3C73BA
square
#BA3CB2 #BA833C #3CBA44 #3C73BA
split-complementary
#BA3CB2 #73BA3C #3CBA83
monochromatic
#5D1E59 #8C2D86 #BA3CB2 #CE66C7 #DC94D8

Accessibility & contrast

On white

4.80
#BA3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB2#FFFFFF#000000##FFFFFF
##BA3CB21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3cb2;
/* rgb */ color: rgb(186, 60, 178);
/* oklch */ color: oklch(58.0% 0.208 330.6);
Tailwind
colors: {
  custom: {
    50: '#d27cc9',
    500: '#ba3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb2;
$custom-light: #d27cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb2",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 303.81,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57992,
    "c": 0.2077,
    "h": 330.6
  },
  "luminance": 0.16885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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