#9D2397#9D2397

#9D2397 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 330.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9D2397
RGBrgb(157, 35, 151)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 77.7%, 3.8%, 38.4%)
CIE-LABlab(38.91, 61.17, -35.85)
CIE-LCHlch(38.91, 70.90, 329.63°)
OKLaboklab(49.99% 0.1735 -0.099)
OKLCHoklch(49.99% 0.2 330.3)
XYZxyz(20.0915, 10.6061, 30.2612)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2397 #239D29
analogous
#66239D #9D2397 #9D235A
triadic
#9D2397 #979D23 #23979D
tetradic
#9D2397 #9D6623 #239D29 #235A9D
square
#9D2397 #9D6623 #239D29 #235A9D
split-complementary
#9D2397 #5A9D23 #239D66
monochromatic
#390D37 #6B1867 #9D2397 #CF2EC7 #DB5FD5

Accessibility & contrast

On white

6.73
#9D2397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9D2397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2397
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2397#FFFFFF#000000##FFFFFF
##9D23971.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#4A6194
Tritanopia (blue-blind)
#A3345C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2397;
/* rgb */ color: rgb(157, 35, 151);
/* oklch */ color: oklch(50.0% 0.200 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6db6',
    500: '#9d2397',
    950: '#000000',
  },
}
SCSS
$custom: #9d2397;
$custom-light: #be6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2397",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 302.951,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.1998,
    "h": 330.3
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#9D2397
secondary
#5CC061
accent
#E74941
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2397

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

Preview Lab → · Contrast checker → · Palette generator →

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