#BA4CC1#BA4CC1

#BA4CC1 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.199 H 325.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA4CC1
RGBrgb(186, 76, 193)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 61%, 76%)
CMYKcmyk(3.6%, 60.6%, 0%, 24.3%)
CIE-LABlab(51.22, 59.74, -40.92)
CIE-LCHlch(51.22, 72.41, 325.59°)
OKLaboklab(60.49% 0.1634 -0.1133)
OKLCHoklch(60.49% 0.199 325.3)
XYZxyz(32.4590, 19.4601, 52.4882)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CC1 #53C14C
analogous
#7F4CC1 #BA4CC1 #C14C8E
triadic
#BA4CC1 #C1BA4C #4CC1BA
tetradic
#BA4CC1 #C17F4C #53C14C #4C8EC1
square
#BA4CC1 #C17F4C #53C14C #4C8EC1
split-complementary
#BA4CC1 #8EC14C #4CC17F
monochromatic
#69266D #94359A #BA4CC1 #CC79D1 #DDA7E0

Accessibility & contrast

On white

4.29
#BA4CC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA4CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CC1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CC1#FFFFFF#000000##000000
##BA4CC11.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3971C5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#BE5C80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4cc1;
/* rgb */ color: rgb(186, 76, 193);
/* oklch */ color: oklch(60.5% 0.199 325.3);
Tailwind
colors: {
  custom: {
    50: '#d285d4',
    500: '#ba4cc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cc1;
$custom-light: #d285d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cc1",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 193
  },
  "hsl": {
    "h": 296.41,
    "s": 48.548,
    "l": 52.745
  },
  "oklch": {
    "l": 0.6049,
    "c": 0.19887,
    "h": 325.3
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#BA4CC1
secondary
#9ECE9B
accent
#D85058
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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