#9C3191#9C3191

#9C3191 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 332.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C3191
RGBrgb(156, 49, 145)
HSLhsl(306, 52%, 40%)
HSVhsv(306, 69%, 61%)
CMYKcmyk(0%, 68.6%, 7.1%, 38.8%)
CIE-LABlab(40.10, 55.19, -30.34)
CIE-LCHlch(40.10, 62.98, 331.21°)
OKLaboklab(50.71% 0.1584 -0.0832)
OKLCHoklch(50.71% 0.179 332.3)
XYZxyz(19.9195, 11.3104, 27.9166)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3191 #319C3C
analogous
#71319C #9C3191 #9C315C
triadic
#9C3191 #919C31 #31919C
tetradic
#9C3191 #9C7131 #319C3C #315C9C
square
#9C3191 #9C7131 #319C3C #315C9C
split-complementary
#9C3191 #5C9C31 #319C71
monochromatic
#3F143A #6D2266 #9C3191 #C545B8 #D374CA

Accessibility & contrast

On white

6.44
#9C3191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9C3191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3191
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3191#FFFFFF#000000##FFFFFF
##9C31911.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5594
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A33B5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9c3191;
/* rgb */ color: rgb(156, 49, 145);
/* oklch */ color: oklch(50.7% 0.179 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc72b1',
    500: '#9c3191',
    950: '#000000',
  },
}
SCSS
$custom: #9c3191;
$custom-light: #bc72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3191",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 145
  },
  "hsl": {
    "h": 306.168,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50705,
    "c": 0.17893,
    "h": 332.3
  },
  "luminance": 0.11309
}

Semantic roles & 50–950 ramp

primary
#9C3191
secondary
#6DBB75
accent
#DC5B4C
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C3191

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

Preview Lab → · Contrast checker → · Palette generator →

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