#9D1C97#9D1C97

#9D1C97 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.206 H 330.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9D1C97
RGBrgb(157, 28, 151)
HSLhsl(303, 70%, 36%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 82.2%, 3.8%, 38.4%)
CIE-LABlab(38.26, 63.05, -36.88)
CIE-LCHlch(38.26, 73.04, 329.68°)
OKLaboklab(49.53% 0.1789 -0.102)
OKLCHoklch(49.53% 0.206 330.3)
XYZxyz(19.9057, 10.2346, 30.1992)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C97 #1C9D22
analogous
#631C9D #9D1C97 #9D1C57
triadic
#9D1C97 #979D1C #1C979D
tetradic
#9D1C97 #9D631C #1C9D22 #1C579D
square
#9D1C97 #9D631C #1C9D22 #1C579D
split-complementary
#9D1C97 #579D1C #1C9D63
monochromatic
#350933 #691365 #9D1C97 #D125C9 #E053DA

Accessibility & contrast

On white

6.89
#9D1C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D1C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C97
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C97#FFFFFF#000000##FFFFFF
##9D1C971.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#A3305B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1c97;
/* rgb */ color: rgb(157, 28, 151);
/* oklch */ color: oklch(49.5% 0.206 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6ab6',
    500: '#9d1c97',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c97;
$custom-light: #be6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c97",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 302.791,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.20595,
    "h": 330.3
  },
  "luminance": 0.10233
}

Semantic roles & 50–950 ramp

primary
#9D1C97
secondary
#51C357
accent
#ED443B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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