#9C3C8F#9C3C8F

#9C3C8F is a mid, vivid purple. Relative luminance 0.123; OKLCH L 51.8% C 0.162 H 333.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9C3C8F
RGBrgb(156, 60, 143)
HSLhsl(308, 44%, 42%)
HSVhsv(308, 62%, 61%)
CMYKcmyk(0%, 61.5%, 8.3%, 38.8%)
CIE-LABlab(41.66, 50.24, -26.67)
CIE-LCHlch(41.66, 56.88, 332.04°)
OKLaboklab(51.81% 0.1447 -0.0728)
OKLCHoklch(51.81% 0.162 333.3)
XYZxyz(20.2841, 12.2843, 27.2840)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3C8F #3C9C49
analogous
#793C9C #9C3C8F #9C3C5F
triadic
#9C3C8F #8F9C3C #3C8F9C
tetradic
#9C3C8F #9C793C #3C9C49 #3C5F9C
square
#9C3C8F #9C793C #3C9C49 #3C5F9C
split-complementary
#9C3C8F #5F9C3C #3C9C79
monochromatic
#441A3E #702B66 #9C3C8F #BE57B0 #CF83C5

Accessibility & contrast

On white

6.08
#9C3C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9C3C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3C8F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3C8F#FFFFFF#000000##FFFFFF
##9C3C8F1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5992
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#A34360
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c3c8f;
/* rgb */ color: rgb(156, 60, 143);
/* oklch */ color: oklch(51.8% 0.162 333.3);
Tailwind
colors: {
  custom: {
    50: '#bc78b0',
    500: '#9c3c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9c3c8f;
$custom-light: #bc78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3c8f",
  "rgb": {
    "r": 156,
    "g": 60,
    "b": 143
  },
  "hsl": {
    "h": 308.125,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.16202,
    "h": 333.3
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#9C3C8F
secondary
#7AB983
accent
#D46554
background
#FBF7FA
surface
#F7EEF4
border
#D0C9CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9C3C8F

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

Preview Lab → · Contrast checker → · Palette generator →

#9C3C8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva