#9D2398#9D2398

#9D2398 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 329.9°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9D2398
RGBrgb(157, 35, 152)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 77.7%, 3.2%, 38.4%)
CIE-LABlab(38.97, 61.33, -36.37)
CIE-LCHlch(38.97, 71.30, 329.33°)
OKLaboklab(50.04% 0.1735 -0.1005)
OKLCHoklch(50.04% 0.201 329.9)
XYZxyz(20.1731, 10.6388, 30.6907)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2398 #239D28
analogous
#65239D #9D2398 #9D235B
triadic
#9D2398 #989D23 #23989D
tetradic
#9D2398 #9D6523 #239D28 #235B9D
square
#9D2398 #9D6523 #239D28 #235B9D
split-complementary
#9D2398 #5B9D23 #239D65
monochromatic
#390D37 #6B1868 #9D2398 #CF2EC8 #DB5FD6

Accessibility & contrast

On white

6.71
#9D2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2398
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2398#FFFFFF#000000##FFFFFF
##9D23981.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2398;
/* rgb */ color: rgb(157, 35, 152);
/* oklch */ color: oklch(50.0% 0.201 329.9);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9d2398',
    950: '#000000',
  },
}
SCSS
$custom: #9d2398;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2398",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 302.459,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.20055,
    "h": 329.9
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#9D2398
secondary
#5CC060
accent
#E74841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2398

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

Preview Lab → · Contrast checker → · Palette generator →

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