#BA3CC2#BA3CC2

#BA3CC2 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.9% C 0.220 H 325.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC2
RGBrgb(186, 60, 194)
HSLhsl(296, 53%, 50%)
HSVhsv(296, 69%, 76%)
CMYKcmyk(4.1%, 69.1%, 0%, 23.9%)
CIE-LABlab(48.97, 66.36, -45.07)
CIE-LCHlch(48.97, 80.21, 325.81°)
OKLaboklab(58.88% 0.1813 -0.1252)
OKLCHoklch(58.88% 0.22 325.4)
XYZxyz(31.6025, 17.5679, 52.7549)
Luminance0.1757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC2 #44C23C
analogous
#773CC2 #BA3CC2 #C23C87
triadic
#BA3CC2 #C2BA3C #3CC2BA
tetradic
#BA3CC2 #C2773C #44C23C #3C87C2
square
#BA3CC2 #C2773C #44C23C #3C87C2
split-complementary
#BA3CC2 #87C23C #3CC277
monochromatic
#601F65 #8D2E93 #BA3CC2 #CB6AD1 #DB99DF

Accessibility & contrast

On white

4.65
#BA3CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA3CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC2#FFFFFF#000000##FFFFFF
##BA3CC21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6AC6
Deuteranopia (green-blind)
#577ABF
Tritanopia (blue-blind)
#BE517B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3cc2;
/* rgb */ color: rgb(186, 60, 194);
/* oklch */ color: oklch(58.9% 0.220 325.4);
Tailwind
colors: {
  custom: {
    50: '#d27dd5',
    500: '#ba3cc2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc2;
$custom-light: #d27dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc2",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 194
  },
  "hsl": {
    "h": 296.418,
    "s": 52.756,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58879,
    "c": 0.22038,
    "h": 325.4
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#BA3CC2
secondary
#92CB8F
accent
#DC4C54
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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