#BA3CC4#BA3CC4

#BA3CC4 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.222 H 324.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC4
RGBrgb(186, 60, 196)
HSLhsl(296, 54%, 50%)
HSVhsv(296, 69%, 77%)
CMYKcmyk(5.1%, 69.4%, 0%, 23.1%)
CIE-LABlab(49.08, 66.70, -46.05)
CIE-LCHlch(49.08, 81.05, 325.38°)
OKLaboklab(59% 0.1813 -0.1281)
OKLCHoklch(59% 0.222 324.8)
XYZxyz(31.8286, 17.6583, 53.9458)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC4 #46C43C
analogous
#763CC4 #BA3CC4 #C43C8A
triadic
#BA3CC4 #C4BA3C #3CC4BA
tetradic
#BA3CC4 #C4763C #46C43C #3C8AC4
square
#BA3CC4 #C4763C #46C43C #3C8AC4
split-complementary
#BA3CC4 #8AC43C #3CC476
monochromatic
#611F67 #8E2D96 #BA3CC4 #CB6BD2 #DB9AE0

Accessibility & contrast

On white

4.63
#BA3CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#BA3CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC4#FFFFFF#000000##FFFFFF
##BA3CC41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186BC8
Deuteranopia (green-blind)
#567AC1
Tritanopia (blue-blind)
#BE527C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3cc4;
/* rgb */ color: rgb(186, 60, 196);
/* oklch */ color: oklch(59.0% 0.222 324.8);
Tailwind
colors: {
  custom: {
    50: '#d27dd6',
    500: '#ba3cc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc4;
$custom-light: #d27dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc4",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 196
  },
  "hsl": {
    "h": 295.588,
    "s": 53.543,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58995,
    "c": 0.22201,
    "h": 324.8
  },
  "luminance": 0.17656
}

Semantic roles & 50–950 ramp

primary
#BA3CC4
secondary
#94CC90
accent
#DD4B56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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