#9D1C8D#9D1C8D

#9D1C8D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.9% C 0.199 H 334.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9D1C8D
RGBrgb(157, 28, 141)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.2%, 10.2%, 38.4%)
CIE-LABlab(37.70, 61.52, -31.65)
CIE-LCHlch(37.70, 69.19, 332.78°)
OKLaboklab(48.95% 0.1789 -0.0868)
OKLCHoklch(48.95% 0.199 334.1)
XYZxyz(19.1278, 9.9234, 26.1022)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C8D #1C9D2C
analogous
#6D1C9D #9D1C8D #9D1C4D
triadic
#9D1C8D #8D9D1C #1C8D9D
tetradic
#9D1C8D #9D6D1C #1C9D2C #1C4D9D
square
#9D1C8D #9D6D1C #1C9D2C #1C4D9D
split-complementary
#9D1C8D #4D9D1C #1C9D6D
monochromatic
#350930 #69135E #9D1C8D #D125BC #E053CF

Accessibility & contrast

On white

7.04
#9D1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C8D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C8D#FFFFFF#000000##FFFFFF
##9D1C8D1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184D90
Deuteranopia (green-blind)
#4C5F8A
Tritanopia (blue-blind)
#A52B55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1c8d;
/* rgb */ color: rgb(157, 28, 141);
/* oklch */ color: oklch(48.9% 0.199 334.1);
Tailwind
colors: {
  custom: {
    50: '#be6aaf',
    500: '#9d1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c8d;
$custom-light: #be6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c8d",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 307.442,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4895,
    "c": 0.19884,
    "h": 334.1
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#9D1C8D
secondary
#51C360
accent
#ED513B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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