#9D1D96#9D1D96

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

Color values

HEX#9D1D96
RGBrgb(157, 29, 150)
HSLhsl(303, 69%, 36%)
HSVhsv(303, 82%, 62%)
CMYKcmyk(0%, 81.5%, 4.5%, 38.4%)
CIE-LABlab(38.29, 62.64, -36.22)
CIE-LCHlch(38.29, 72.36, 329.96°)
OKLaboklab(49.53% 0.1782 -0.1001)
OKLCHoklch(49.53% 0.204 330.7)
XYZxyz(19.8490, 10.2505, 29.7814)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D96 #1D9D24
analogous
#641D9D #9D1D96 #9D1D56
triadic
#9D1D96 #969D1D #1D969D
tetradic
#9D1D96 #9D641D #1D9D24 #1D569D
square
#9D1D96 #9D641D #1D9D24 #1D569D
split-complementary
#9D1D96 #569D1D #1D9D64
monochromatic
#360A33 #691365 #9D1D96 #D127C7 #E055D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D1D96#FFFFFF#000000##FFFFFF
##9D1D961.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)
#064F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A3305A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1d96;
/* rgb */ color: rgb(157, 29, 150);
/* oklch */ color: oklch(49.5% 0.204 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6bb5',
    500: '#9d1d96',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d96;
$custom-light: #be6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d96",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 303.281,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.20441,
    "h": 330.7
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#9D1D96
secondary
#53C359
accent
#EC463C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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