#9D1D99#9D1D99

#9D1D99 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.207 H 329.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D1D99
RGBrgb(157, 29, 153)
HSLhsl(302, 69%, 36%)
HSVhsv(302, 82%, 62%)
CMYKcmyk(0%, 81.5%, 2.5%, 38.4%)
CIE-LABlab(38.46, 63.12, -37.77)
CIE-LCHlch(38.46, 73.56, 329.10°)
OKLaboklab(49.7% 0.1782 -0.1046)
OKLCHoklch(49.7% 0.207 329.6)
XYZxyz(20.0936, 10.3483, 31.0699)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1D99 #1D9D21
analogous
#611D9D #9D1D99 #9D1D59
triadic
#9D1D99 #999D1D #1D999D
tetradic
#9D1D99 #9D611D #1D9D21 #1D599D
square
#9D1D99 #9D611D #1D9D21 #1D599D
split-complementary
#9D1D99 #599D1D #1D9D61
monochromatic
#360A34 #691367 #9D1D99 #D127CB #E055DB

Accessibility & contrast

On white

6.84
#9D1D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D1D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1D99
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1D99#FFFFFF#000000##FFFFFF
##9D1D991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#A3325C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1d99;
/* rgb */ color: rgb(157, 29, 153);
/* oklch */ color: oklch(49.7% 0.207 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6bb7',
    500: '#9d1d99',
    950: '#000000',
  },
}
SCSS
$custom: #9d1d99;
$custom-light: #be6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1d99",
  "rgb": {
    "r": 157,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 301.875,
    "s": 68.817,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.2066,
    "h": 329.6
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#9D1D99
secondary
#53C356
accent
#EC423C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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