#9D1D8F#9D1D8F

#9D1D8F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.1% C 0.199 H 333.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D1D8F
RGBrgb(157, 29, 143)
HSLhsl(307, 69%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 81.5%, 8.9%, 38.4%)
CIE-LABlab(37.90, 61.57, -32.57)
CIE-LCHlch(37.90, 69.65, 332.12°)
OKLaboklab(49.12% 0.1782 -0.0895)
OKLCHoklch(49.12% 0.199 333.3)
XYZxyz(19.3021, 10.0317, 26.9010)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D8F #1D9D2B
analogous
#6B1D9D #9D1D8F #9D1D4F
triadic
#9D1D8F #8F9D1D #1D8F9D
tetradic
#9D1D8F #9D6B1D #1D9D2B #1D4F9D
square
#9D1D8F #9D6B1D #1D9D2B #1D4F9D
split-complementary
#9D1D8F #4F9D1D #1D9D6B
monochromatic
#360A31 #691360 #9D1D8F #D127BE #E055D0

Accessibility & contrast

On white

6.99
#9D1D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D1D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1D8F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D8F#FFFFFF#000000##FFFFFF
##9D1D8F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164E92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A42C56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1d8f;
/* rgb */ color: rgb(157, 29, 143);
/* oklch */ color: oklch(49.1% 0.199 333.3);
Tailwind
colors: {
  custom: {
    50: '#be6ab0',
    500: '#9d1d8f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d8f;
$custom-light: #be6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d8f",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 306.563,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.19941,
    "h": 333.3
  },
  "luminance": 0.1003
}

Semantic roles & 50–950 ramp

primary
#9D1D8F
secondary
#53C35F
accent
#EC4F3C
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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