#9C1D8A#9C1D8A

#9C1D8A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.195 H 335.0°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9C1D8A
RGBrgb(156, 29, 138)
HSLhsl(309, 69%, 36%)
HSVhsv(309, 81%, 61%)
CMYKcmyk(0%, 81.4%, 11.5%, 38.8%)
CIE-LABlab(37.45, 60.61, -30.22)
CIE-LCHlch(37.45, 67.72, 333.50°)
OKLaboklab(48.68% 0.177 -0.0827)
OKLCHoklch(48.68% 0.195 335)
XYZxyz(18.7374, 9.7834, 24.9414)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D8A #1D9C2F
analogous
#6F1D9C #9C1D8A #9C1D4B
triadic
#9C1D8A #8A9C1D #1D8A9C
tetradic
#9C1D8A #9C6F1D #1D9C2F #1D4B9C
square
#9C1D8A #9C6F1D #1D9C2F #1D4B9C
split-complementary
#9C1D8A #4B9C1D #1D9C6F
monochromatic
#350A2F #68135C #9C1D8A #D027B8 #DF54CC

Accessibility & contrast

On white

7.10
#9C1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9C1D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1D8A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D8A#FFFFFF#000000##FFFFFF
##9C1D8A1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4C8D
Deuteranopia (green-blind)
#4D5F87
Tritanopia (blue-blind)
#A42A53
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c1d8a;
/* rgb */ color: rgb(156, 29, 138);
/* oklch */ color: oklch(48.7% 0.195 335.0);
Tailwind
colors: {
  custom: {
    50: '#bd6aac',
    500: '#9c1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d8a;
$custom-light: #bd6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d8a",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 308.504,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48683,
    "c": 0.19541,
    "h": 335
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#9C1D8A
secondary
#52C262
accent
#EB553C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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