#BA3CC1#BA3CC1

#BA3CC1 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.220 H 325.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC1
RGBrgb(186, 60, 193)
HSLhsl(297, 53%, 50%)
HSVhsv(297, 69%, 76%)
CMYKcmyk(3.6%, 68.9%, 0%, 24.3%)
CIE-LABlab(48.91, 66.18, -44.58)
CIE-LCHlch(48.91, 79.80, 326.04°)
OKLaboklab(58.82% 0.1813 -0.1238)
OKLCHoklch(58.82% 0.22 325.7)
XYZxyz(31.4905, 17.5231, 52.1654)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC1 #43C13C
analogous
#783CC1 #BA3CC1 #C13C86
triadic
#BA3CC1 #C1BA3C #3CC1BA
tetradic
#BA3CC1 #C1783C #43C13C #3C86C1
square
#BA3CC1 #C1783C #43C13C #3C86C1
split-complementary
#BA3CC1 #86C13C #3CC178
monochromatic
#601F64 #8D2D92 #BA3CC1 #CB6AD1 #DB98DF

Accessibility & contrast

On white

4.66
#BA3CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA3CC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC1#FFFFFF#000000##FFFFFF
##BA3CC11.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6AC5
Deuteranopia (green-blind)
#587ABE
Tritanopia (blue-blind)
#BE517A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3cc1;
/* rgb */ color: rgb(186, 60, 193);
/* oklch */ color: oklch(58.8% 0.220 325.7);
Tailwind
colors: {
  custom: {
    50: '#d27dd4',
    500: '#ba3cc1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc1;
$custom-light: #d27dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc1",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 193
  },
  "hsl": {
    "h": 296.842,
    "s": 52.569,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58822,
    "c": 0.21957,
    "h": 325.7
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#BA3CC1
secondary
#91CB8E
accent
#DC4C53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA3CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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