#9C1D96#9C1D96

#9C1D96 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.204 H 330.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9C1D96
RGBrgb(156, 29, 150)
HSLhsl(303, 69%, 36%)
HSVhsv(303, 81%, 61%)
CMYKcmyk(0%, 81.4%, 3.8%, 38.8%)
CIE-LABlab(38.11, 62.44, -36.52)
CIE-LCHlch(38.11, 72.33, 329.68°)
OKLaboklab(49.37% 0.1772 -0.1009)
OKLCHoklch(49.37% 0.204 330.3)
XYZxyz(19.6546, 10.1503, 29.7723)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D96 #1D9C23
analogous
#631D9C #9C1D96 #9C1D57
triadic
#9C1D96 #969C1D #1D969C
tetradic
#9C1D96 #9C631D #1D9C23 #1D579C
square
#9C1D96 #9C631D #1D9C23 #1D579C
split-complementary
#9C1D96 #579C1D #1D9C63
monochromatic
#350A33 #681364 #9C1D96 #D027C8 #DF54D9

Accessibility & contrast

On white

6.93
#9C1D96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C1D96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D96
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D96#FFFFFF#000000##FFFFFF
##9C1D961.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044F99
Deuteranopia (green-blind)
#476093
Tritanopia (blue-blind)
#A2315A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1d96;
/* rgb */ color: rgb(156, 29, 150);
/* oklch */ color: oklch(49.4% 0.204 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd6ab5',
    500: '#9c1d96',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d96;
$custom-light: #bd6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d96",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 302.835,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49367,
    "c": 0.20395,
    "h": 330.3
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#9C1D96
secondary
#52C258
accent
#EB453C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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