#9D1C8A#9D1C8A

#9D1C8A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.8% C 0.197 H 335.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#9D1C8A
RGBrgb(157, 28, 138)
HSLhsl(309, 70%, 36%)
HSVhsv(309, 82%, 62%)
CMYKcmyk(0%, 82.2%, 12.1%, 38.4%)
CIE-LABlab(37.55, 61.08, -30.05)
CIE-LCHlch(37.55, 68.07, 333.80°)
OKLaboklab(48.78% 0.1788 -0.0822)
OKLCHoklch(48.78% 0.197 335.3)
XYZxyz(18.9076, 9.8354, 24.9425)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C8A #1C9D2F
analogous
#701C9D #9D1C8A #9D1C4A
triadic
#9D1C8A #8A9D1C #1C8A9D
tetradic
#9D1C8A #9D701C #1C9D2F #1C4A9D
square
#9D1C8A #9D701C #1C9D2F #1C4A9D
split-complementary
#9D1C8A #4A9D1C #1C9D70
monochromatic
#35092F #69135C #9D1C8A #D125B8 #E053CC

Accessibility & contrast

On white

7.08
#9D1C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D1C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C8A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C8A#FFFFFF#000000##FFFFFF
##9D1C8A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1c8a;
/* rgb */ color: rgb(157, 28, 138);
/* oklch */ color: oklch(48.8% 0.197 335.3);
Tailwind
colors: {
  custom: {
    50: '#be6aac',
    500: '#9d1c8a',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c8a;
$custom-light: #be6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c8a",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 308.837,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48784,
    "c": 0.19677,
    "h": 335.3
  },
  "luminance": 0.09834
}

Semantic roles & 50–950 ramp

primary
#9D1C8A
secondary
#51C362
accent
#ED553B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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