#9C3196#9C3196

#9C3196 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.183 H 330.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C3196
RGBrgb(156, 49, 150)
HSLhsl(303, 52%, 40%)
HSVhsv(303, 69%, 61%)
CMYKcmyk(0%, 68.6%, 3.8%, 38.8%)
CIE-LABlab(40.36, 56.02, -32.96)
CIE-LCHlch(40.36, 65.00, 329.53°)
OKLaboklab(50.98% 0.1588 -0.0908)
OKLCHoklch(50.98% 0.183 330.2)
XYZxyz(20.3135, 11.4681, 29.9919)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3196 #319C37
analogous
#6C319C #9C3196 #9C3161
triadic
#9C3196 #969C31 #31969C
tetradic
#9C3196 #9C6C31 #319C37 #31619C
square
#9C3196 #9C6C31 #319C37 #31619C
split-complementary
#9C3196 #619C31 #319C6C
monochromatic
#3F143C #6D2269 #9C3196 #C545BE #D374CE

Accessibility & contrast

On white

6.38
#9C3196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9C3196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3196
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3196#FFFFFF#000000##FFFFFF
##9C31961.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#4F6493
Tritanopia (blue-blind)
#A23E5F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3196;
/* rgb */ color: rgb(156, 49, 150);
/* oklch */ color: oklch(51.0% 0.183 330.2);
Tailwind
colors: {
  custom: {
    50: '#bc72b5',
    500: '#9c3196',
    950: '#000000',
  },
}
SCSS
$custom: #9c3196;
$custom-light: #bc72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3196",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 303.364,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.1829,
    "h": 330.2
  },
  "luminance": 0.11467
}

Semantic roles & 50–950 ramp

primary
#9C3196
secondary
#6DBB72
accent
#DC544C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C3196

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

Preview Lab → · Contrast checker → · Palette generator →

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