#BA3CC9#BA3CC9

#BA3CC9 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.3% C 0.226 H 323.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3CC9
RGBrgb(186, 60, 201)
HSLhsl(294, 57%, 51%)
HSVhsv(294, 70%, 79%)
CMYKcmyk(7.5%, 70.1%, 0%, 21.2%)
CIE-LABlab(49.36, 67.57, -48.49)
CIE-LCHlch(49.36, 83.17, 324.34°)
OKLaboklab(59.29% 0.1812 -0.1352)
OKLCHoklch(59.29% 0.226 323.3)
XYZxyz(32.4072, 17.8898, 56.9931)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CC9 #4BC93C
analogous
#733CC9 #BA3CC9 #C93C91
triadic
#BA3CC9 #C9BA3C #3CC9BA
tetradic
#BA3CC9 #C9733C #4BC93C #3C91C9
square
#BA3CC9 #C9733C #4BC93C #3C91C9
split-complementary
#BA3CC9 #91C93C #3CC973
monochromatic
#641E6D #902B9C #BA3CC9 #CB6CD6 #DC9CE4

Accessibility & contrast

On white

4.59
#BA3CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BA3CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CC9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CC9#FFFFFF#000000##FFFFFF
##BA3CC91.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096CCD
Deuteranopia (green-blind)
#537AC6
Tritanopia (blue-blind)
#BD557F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3cc9;
/* rgb */ color: rgb(186, 60, 201);
/* oklch */ color: oklch(59.3% 0.226 323.3);
Tailwind
colors: {
  custom: {
    50: '#d27dda',
    500: '#ba3cc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cc9;
$custom-light: #d27dda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cc9",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 201
  },
  "hsl": {
    "h": 293.617,
    "s": 56.627,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59289,
    "c": 0.22609,
    "h": 323.3
  },
  "luminance": 0.17888
}

Semantic roles & 50–950 ramp

primary
#BA3CC9
secondary
#98D091
accent
#E04858
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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