#BA3CA8#BA3CA8

#BA3CA8 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.5% C 0.200 H 334.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3CA8
RGBrgb(186, 60, 168)
HSLhsl(309, 51%, 48%)
HSVhsv(309, 68%, 73%)
CMYKcmyk(0%, 67.7%, 9.7%, 27.1%)
CIE-LABlab(47.62, 62.11, -31.97)
CIE-LCHlch(47.62, 69.85, 332.76°)
OKLaboklab(57.48% 0.18 -0.0874)
OKLCHoklch(57.48% 0.2 334.1)
XYZxyz(28.9337, 16.5004, 38.6992)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CA8 #3CBA4E
analogous
#8D3CBA #BA3CA8 #BA3C69
triadic
#BA3CA8 #A8BA3C #3CA8BA
tetradic
#BA3CA8 #BA8D3C #3CBA4E #3C69BA
square
#BA3CA8 #BA8D3C #3CBA4E #3C69BA
split-complementary
#BA3CA8 #69BA3C #3CBA8D
monochromatic
#5D1E54 #8C2D7E #BA3CA8 #CE66BF #DC94D2

Accessibility & contrast

On white

4.88
#BA3CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA3CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CA8
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CA8#FFFFFF#000000##FFFFFF
##BA3CA81.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#6578A5
Tritanopia (blue-blind)
#C3466D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3ca8;
/* rgb */ color: rgb(186, 60, 168);
/* oklch */ color: oklch(57.5% 0.200 334.1);
Tailwind
colors: {
  custom: {
    50: '#d27cc2',
    500: '#ba3ca8',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ca8;
$custom-light: #d27cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ca8",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 308.571,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.20013,
    "h": 334.1
  },
  "luminance": 0.16498
}

Semantic roles & 50–950 ramp

primary
#BA3CA8
secondary
#8AC893
accent
#DB614D
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA3CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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