#9D2392#9D2392

#9D2392 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.196 H 332.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2392
RGBrgb(157, 35, 146)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 77.7%, 7%, 38.4%)
CIE-LABlab(38.63, 60.38, -33.24)
CIE-LCHlch(38.63, 68.93, 331.17°)
OKLaboklab(49.7% 0.1735 -0.0915)
OKLCHoklch(49.7% 0.196 332.2)
XYZxyz(19.6940, 10.4471, 28.1678)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2392 #239D2E
analogous
#6B239D #9D2392 #9D2355
triadic
#9D2392 #929D23 #23929D
tetradic
#9D2392 #9D6B23 #239D2E #23559D
square
#9D2392 #9D6B23 #239D2E #23559D
split-complementary
#9D2392 #559D23 #239D6B
monochromatic
#390D35 #6B1863 #9D2392 #CF2EC1 #DB5FD0

Accessibility & contrast

On white

6.80
#9D2392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2392
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2392#FFFFFF#000000##FFFFFF
##9D23921.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A43259
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2392;
/* rgb */ color: rgb(157, 35, 146);
/* oklch */ color: oklch(49.7% 0.196 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6db2',
    500: '#9d2392',
    950: '#000000',
  },
}
SCSS
$custom: #9d2392;
$custom-light: #be6db2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2392",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 305.41,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.19611,
    "h": 332.2
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#9D2392
secondary
#5CC065
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2392

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

Preview Lab → · Contrast checker → · Palette generator →

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