#9C319A#9C319A

#9C319A is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 328.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C319A
RGBrgb(156, 49, 154)
HSLhsl(301, 52%, 40%)
HSVhsv(301, 69%, 61%)
CMYKcmyk(0%, 68.6%, 1.3%, 38.8%)
CIE-LABlab(40.57, 56.70, -35.04)
CIE-LCHlch(40.57, 66.65, 328.28°)
OKLaboklab(51.2% 0.159 -0.0968)
OKLCHoklch(51.2% 0.186 328.7)
XYZxyz(20.6411, 11.5991, 31.7173)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C319A #319C33
analogous
#68319C #9C319A #9C3165
triadic
#9C319A #9A9C31 #319A9C
tetradic
#9C319A #9C6831 #319C33 #31659C
square
#9C319A #9C6831 #319C33 #31659C
split-complementary
#9C319A #659C31 #319C68
monochromatic
#3F143E #6D226C #9C319A #C545C2 #D374D2

Accessibility & contrast

On white

6.33
#9C319A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9C319A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C319A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C319A#FFFFFF#000000##FFFFFF
##9C319A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23579D
Deuteranopia (green-blind)
#4D6597
Tritanopia (blue-blind)
#A13F62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9c319a;
/* rgb */ color: rgb(156, 49, 154);
/* oklch */ color: oklch(51.2% 0.186 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc73b8',
    500: '#9c319a',
    950: '#000000',
  },
}
SCSS
$custom: #9c319a;
$custom-light: #bc73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c319a",
  "rgb": {
    "r": 156,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 301.121,
    "s": 52.195,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51201,
    "c": 0.18612,
    "h": 328.7
  },
  "luminance": 0.11598
}

Semantic roles & 50–950 ramp

primary
#9C319A
secondary
#6DBB6F
accent
#DC4F4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120911
muted
#817B80

Preview Lab

Preview with #9C319A

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

Preview Lab → · Contrast checker → · Palette generator →

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