#9D1C8F#9D1C8F

#9D1C8F is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.200 H 333.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D1C8F
RGBrgb(157, 28, 143)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.2%, 8.9%, 38.4%)
CIE-LABlab(37.81, 61.82, -32.70)
CIE-LCHlch(37.81, 69.94, 332.12°)
OKLaboklab(49.06% 0.1789 -0.0899)
OKLCHoklch(49.06% 0.2 333.3)
XYZxyz(19.2780, 9.9835, 26.8930)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C8F #1C9D2A
analogous
#6B1C9D #9D1C8F #9D1C4F
triadic
#9D1C8F #8F9D1C #1C8F9D
tetradic
#9D1C8F #9D6B1C #1C9D2A #1C4F9D
square
#9D1C8F #9D6B1C #1C9D2A #1C4F9D
split-complementary
#9D1C8F #4F9D1C #1C9D6B
monochromatic
#350930 #691360 #9D1C8F #D125BE #E053D1

Accessibility & contrast

On white

7.01
#9D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9D1C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C8F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C8F#FFFFFF#000000##FFFFFF
##9D1C8F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D92
Deuteranopia (green-blind)
#4B5F8C
Tritanopia (blue-blind)
#A42C56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1c8f;
/* rgb */ color: rgb(157, 28, 143);
/* oklch */ color: oklch(49.1% 0.200 333.3);
Tailwind
colors: {
  custom: {
    50: '#be6ab0',
    500: '#9d1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c8f;
$custom-light: #be6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c8f",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 306.512,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.20024,
    "h": 333.3
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#9D1C8F
secondary
#51C35E
accent
#ED4F3B
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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