#9D1C8E#9D1C8E

#9D1C8E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.200 H 333.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9D1C8E
RGBrgb(157, 28, 142)
HSLhsl(307, 70%, 36%)
HSVhsv(307, 82%, 62%)
CMYKcmyk(0%, 82.2%, 9.6%, 38.4%)
CIE-LABlab(37.76, 61.67, -32.18)
CIE-LCHlch(37.76, 69.56, 332.45°)
OKLaboklab(49.01% 0.1789 -0.0883)
OKLCHoklch(49.01% 0.2 333.7)
XYZxyz(19.2025, 9.9533, 26.4958)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C8E #1C9D2B
analogous
#6C1C9D #9D1C8E #9D1C4E
triadic
#9D1C8E #8E9D1C #1C8E9D
tetradic
#9D1C8E #9D6C1C #1C9D2B #1C4E9D
square
#9D1C8E #9D6C1C #1C9D2B #1C4E9D
split-complementary
#9D1C8E #4E9D1C #1C9D6C
monochromatic
#350930 #69135F #9D1C8E #D125BD #E053D0

Accessibility & contrast

On white

7.02
#9D1C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D1C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1C8E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C8E#FFFFFF#000000##FFFFFF
##9D1C8E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D91
Deuteranopia (green-blind)
#4C5F8B
Tritanopia (blue-blind)
#A52B55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d1c8e;
/* rgb */ color: rgb(157, 28, 142);
/* oklch */ color: oklch(49.0% 0.200 333.7);
Tailwind
colors: {
  custom: {
    50: '#be6aaf',
    500: '#9d1c8e',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c8e;
$custom-light: #be6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c8e",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 306.977,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49005,
    "c": 0.19954,
    "h": 333.7
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#9D1C8E
secondary
#51C35F
accent
#ED503B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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