#9C1D97#9C1D97

#9C1D97 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.205 H 330.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9C1D97
RGBrgb(156, 29, 151)
HSLhsl(302, 69%, 36%)
HSVhsv(302, 81%, 61%)
CMYKcmyk(0%, 81.4%, 3.2%, 38.8%)
CIE-LABlab(38.17, 62.59, -37.03)
CIE-LCHlch(38.17, 72.73, 329.39°)
OKLaboklab(49.43% 0.1772 -0.1024)
OKLCHoklch(49.43% 0.205 330)
XYZxyz(19.7355, 10.1826, 30.1982)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D97 #1D9C22
analogous
#621D9C #9C1D97 #9C1D58
triadic
#9C1D97 #979C1D #1D979C
tetradic
#9C1D97 #9C621D #1D9C22 #1D589C
square
#9C1D97 #9C621D #1D9C22 #1D589C
split-complementary
#9C1D97 #589C1D #1D9C62
monochromatic
#350A33 #681365 #9C1D97 #D027C9 #DF54DA

Accessibility & contrast

On white

6.92
#9C1D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C1D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1D97
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D97#FFFFFF#000000##FFFFFF
##9C1D971.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A2315B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1d97;
/* rgb */ color: rgb(156, 29, 151);
/* oklch */ color: oklch(49.4% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#bd6bb6',
    500: '#9c1d97',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d97;
$custom-light: #bd6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d97",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 302.362,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49426,
    "c": 0.20468,
    "h": 330
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#9C1D97
secondary
#52C257
accent
#EB433C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D97

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

Preview Lab → · Contrast checker → · Palette generator →

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