#9D2391#9D2391

#9D2391 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.195 H 332.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D2391
RGBrgb(157, 35, 145)
HSLhsl(306, 64%, 38%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 77.7%, 7.6%, 38.4%)
CIE-LABlab(38.58, 60.23, -32.72)
CIE-LCHlch(38.58, 68.54, 331.49°)
OKLaboklab(49.65% 0.1734 -0.09)
OKLCHoklch(49.65% 0.195 332.6)
XYZxyz(19.6166, 10.4162, 27.7599)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2391 #239D2F
analogous
#6C239D #9D2391 #9D2354
triadic
#9D2391 #919D23 #23919D
tetradic
#9D2391 #9D6C23 #239D2F #23549D
square
#9D2391 #9D6C23 #239D2F #23549D
split-complementary
#9D2391 #549D23 #239D6C
monochromatic
#390D35 #6B1863 #9D2391 #CF2EBF #DB5FCF

Accessibility & contrast

On white

6.81
#9D2391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2391
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2391#FFFFFF#000000##FFFFFF
##9D23911.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5094
Deuteranopia (green-blind)
#4D618E
Tritanopia (blue-blind)
#A43159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2391;
/* rgb */ color: rgb(157, 35, 145);
/* oklch */ color: oklch(49.6% 0.195 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6cb1',
    500: '#9d2391',
    950: '#000000',
  },
}
SCSS
$custom: #9d2391;
$custom-light: #be6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2391",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 305.902,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.19538,
    "h": 332.6
  },
  "luminance": 0.10414
}

Semantic roles & 50–950 ramp

primary
#9D2391
secondary
#5CC065
accent
#E75141
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2391

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

Preview Lab → · Contrast checker → · Palette generator →

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