#9D1C9D#9D1C9D

#9D1C9D is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.210 H 328.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D1C9D
RGBrgb(157, 28, 157)
HSLhsl(300, 70%, 36%)
HSVhsv(300, 82%, 62%)
CMYKcmyk(0%, 82.2%, 0%, 38.4%)
CIE-LABlab(38.61, 64.00, -39.96)
CIE-LCHlch(38.61, 75.45, 328.02°)
OKLaboklab(49.89% 0.1787 -0.1109)
OKLCHoklch(49.89% 0.21 328.2)
XYZxyz(20.4055, 10.4345, 32.8311)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C9D #1C9D1C
analogous
#5D1C9D #9D1C9D #9D1C5D
triadic
#9D1C9D #9D9D1C #1C9D9D
tetradic
#9D1C9D #9D5D1C #1C9D1C #1C5D9D
square
#9D1C9D #9D5D1C #1C9D1C #1C5D9D
split-complementary
#9D1C9D #5D9D1C #1C9D5D
monochromatic
#350935 #691369 #9D1C9D #D125D1 #E053E0

Accessibility & contrast

On white

6.80
#9D1C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D1C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C9D
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C9D#FFFFFF#000000##FFFFFF
##9D1C9D1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#44609A
Tritanopia (blue-blind)
#A2345E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1c9d;
/* rgb */ color: rgb(157, 28, 157);
/* oklch */ color: oklch(49.9% 0.210 328.2);
Tailwind
colors: {
  custom: {
    50: '#be6bba',
    500: '#9d1c9d',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c9d;
$custom-light: #be6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c9d",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 157
  },
  "hsl": {
    "h": 300,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49887,
    "c": 0.21033,
    "h": 328.2
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9D1C9D
secondary
#51C351
accent
#ED3B3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9D1C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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