#BA3CC7#BA3CC7

#BA3CC7 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.2% C 0.224 H 323.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC7
RGBrgb(186, 60, 199)
HSLhsl(294, 55%, 51%)
HSVhsv(294, 70%, 78%)
CMYKcmyk(6.5%, 69.8%, 0%, 22%)
CIE-LABlab(49.25, 67.22, -47.52)
CIE-LCHlch(49.25, 82.32, 324.74°)
OKLaboklab(59.17% 0.1813 -0.1324)
OKLCHoklch(59.17% 0.224 323.9)
XYZxyz(32.1735, 17.7963, 55.7621)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC7 #49C73C
analogous
#743CC7 #BA3CC7 #C73C8F
triadic
#BA3CC7 #C7BA3C #3CC7BA
tetradic
#BA3CC7 #C7743C #49C73C #3C8FC7
square
#BA3CC7 #C7743C #49C73C #3C8FC7
split-complementary
#BA3CC7 #8FC73C #3CC774
monochromatic
#631E6A #8F2C9A #BA3CC7 #CB6CD5 #DC9BE2

Accessibility & contrast

On white

4.61
#BA3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#BA3CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC7#FFFFFF#000000##FFFFFF
##BA3CC71.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106BCB
Deuteranopia (green-blind)
#547AC4
Tritanopia (blue-blind)
#BD547E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3cc7;
/* rgb */ color: rgb(186, 60, 199);
/* oklch */ color: oklch(59.2% 0.224 323.9);
Tailwind
colors: {
  custom: {
    50: '#d27dd8',
    500: '#ba3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc7;
$custom-light: #d27dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc7",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 294.388,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5917,
    "c": 0.22446,
    "h": 323.9
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#BA3CC7
secondary
#96CE91
accent
#DF4957
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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