#9C1F96#9C1F96

#9C1F96 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.202 H 330.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C1F96
RGBrgb(156, 31, 150)
HSLhsl(303, 67%, 37%)
HSVhsv(303, 80%, 61%)
CMYKcmyk(0%, 80.1%, 3.8%, 38.8%)
CIE-LABlab(38.29, 61.92, -36.23)
CIE-LCHlch(38.29, 71.74, 329.67°)
OKLaboklab(49.49% 0.1757 -0.1001)
OKLCHoklch(49.49% 0.202 330.3)
XYZxyz(19.7052, 10.2515, 29.7891)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F96 #1F9C25
analogous
#641F9C #9C1F96 #9C1F58
triadic
#9C1F96 #969C1F #1F969C
tetradic
#9C1F96 #9C641F #1F9C25 #1F589C
square
#9C1F96 #9C641F #1F9C25 #1F589C
split-complementary
#9C1F96 #589C1F #1F9C64
monochromatic
#360B34 #691565 #9C1F96 #CF29C7 #DE58D7

Accessibility & contrast

On white

6.89
#9C1F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C1F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F96
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F96#FFFFFF#000000##FFFFFF
##9C1F961.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A2325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1f96;
/* rgb */ color: rgb(156, 31, 150);
/* oklch */ color: oklch(49.5% 0.202 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd6bb5',
    500: '#9c1f96',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f96;
$custom-light: #bd6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f96",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 302.88,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49494,
    "c": 0.20225,
    "h": 330.3
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#9C1F96
secondary
#55C15B
accent
#EA463E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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