#9D2399#9D2399

#9D2399 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.201 H 329.5°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D2399
RGBrgb(157, 35, 153)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 77.7%, 2.5%, 38.4%)
CIE-LABlab(39.02, 61.49, -36.88)
CIE-LCHlch(39.02, 71.70, 329.05°)
OKLaboklab(50.1% 0.1735 -0.102)
OKLCHoklch(50.1% 0.201 329.5)
XYZxyz(20.2553, 10.6717, 31.1238)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2399 #239D27
analogous
#64239D #9D2399 #9D235C
triadic
#9D2399 #999D23 #23999D
tetradic
#9D2399 #9D6423 #239D27 #235C9D
square
#9D2399 #9D6423 #239D27 #235C9D
split-complementary
#9D2399 #5C9D23 #239D64
monochromatic
#390D37 #6B1868 #9D2399 #CF2ECA #DB5FD7

Accessibility & contrast

On white

6.70
#9D2399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9D2399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2399
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2399#FFFFFF#000000##FFFFFF
##9D23991.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C529C
Deuteranopia (green-blind)
#486296
Tritanopia (blue-blind)
#A3355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2399;
/* rgb */ color: rgb(157, 35, 153);
/* oklch */ color: oklch(50.1% 0.201 329.5);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9d2399',
    950: '#000000',
  },
}
SCSS
$custom: #9d2399;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2399",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 301.967,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50104,
    "c": 0.20131,
    "h": 329.5
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#9D2399
secondary
#5CC05F
accent
#E74741
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2399

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

Preview Lab → · Contrast checker → · Palette generator →

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