#9D2396#9D2396

#9D2396 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.199 H 330.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9D2396
RGBrgb(157, 35, 150)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 77.7%, 4.5%, 38.4%)
CIE-LABlab(38.85, 61.01, -35.33)
CIE-LCHlch(38.85, 70.50, 329.93°)
OKLaboklab(49.93% 0.1735 -0.0975)
OKLCHoklch(49.93% 0.199 330.7)
XYZxyz(20.0106, 10.5738, 29.8353)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2396 #239D2A
analogous
#67239D #9D2396 #9D2359
triadic
#9D2396 #969D23 #23969D
tetradic
#9D2396 #9D6723 #239D2A #23599D
square
#9D2396 #9D6723 #239D2A #23599D
split-complementary
#9D2396 #599D23 #239D67
monochromatic
#390D36 #6B1866 #9D2396 #CF2EC6 #DB5FD4

Accessibility & contrast

On white

6.74
#9D2396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2396
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2396#FFFFFF#000000##FFFFFF
##9D23961.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135199
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A3345C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2396;
/* rgb */ color: rgb(157, 35, 150);
/* oklch */ color: oklch(49.9% 0.199 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6db5',
    500: '#9d2396',
    950: '#000000',
  },
}
SCSS
$custom: #9d2396;
$custom-light: #be6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2396",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 303.443,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49929,
    "c": 0.19906,
    "h": 330.7
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2396

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

Preview Lab → · Contrast checker → · Palette generator →

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