#BA3CB4#BA3CB4

#BA3CB4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.1% C 0.209 H 329.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA3CB4
RGBrgb(186, 60, 180)
HSLhsl(303, 51%, 48%)
HSVhsv(303, 68%, 73%)
CMYKcmyk(0%, 67.7%, 3.2%, 27.1%)
CIE-LABlab(48.22, 64.01, -38.10)
CIE-LCHlch(48.22, 74.49, 329.24°)
OKLaboklab(58.1% 0.181 -0.105)
OKLCHoklch(58.1% 0.209 329.9)
XYZxyz(30.1036, 16.9683, 44.8608)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CB4 #3CBA42
analogous
#813CBA #BA3CB4 #BA3C75
triadic
#BA3CB4 #B4BA3C #3CB4BA
tetradic
#BA3CB4 #BA813C #3CBA42 #3C75BA
square
#BA3CB4 #BA813C #3CBA42 #3C75BA
split-complementary
#BA3CB4 #75BA3C #3CBA81
monochromatic
#5D1E5A #8C2D87 #BA3CB4 #CE66C9 #DC94D9

Accessibility & contrast

On white

4.78
#BA3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA3CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CB4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CB4#FFFFFF#000000##FFFFFF
##BA3CB41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F68B7
Deuteranopia (green-blind)
#5F79B1
Tritanopia (blue-blind)
#C14B73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3cb4;
/* rgb */ color: rgb(186, 60, 180);
/* oklch */ color: oklch(58.1% 0.209 329.9);
Tailwind
colors: {
  custom: {
    50: '#d27ccb',
    500: '#ba3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cb4;
$custom-light: #d27ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cb4",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 302.857,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58099,
    "c": 0.20925,
    "h": 329.9
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#BA3CB4
secondary
#8AC88D
accent
#DB544D
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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