#9D1589#9D1589

#9D1589 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.201 H 335.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D1589
RGBrgb(157, 21, 137)
HSLhsl(309, 76%, 35%)
HSVhsv(309, 87%, 62%)
CMYKcmyk(0%, 86.6%, 12.7%, 38.4%)
CIE-LABlab(36.95, 62.50, -30.37)
CIE-LCHlch(36.95, 69.49, 334.08°)
OKLaboklab(48.34% 0.1834 -0.0831)
OKLCHoklch(48.34% 0.201 335.6)
XYZxyz(18.6885, 9.5124, 24.5139)
Luminance0.0951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1589 #159D29
analogous
#6D159D #9D1589 #9D1545
triadic
#9D1589 #899D15 #15899D
tetradic
#9D1589 #9D6D15 #159D29 #15459D
square
#9D1589 #9D6D15 #159D29 #15459D
split-complementary
#9D1589 #459D15 #159D6D
monochromatic
#31072B #670E5A #9D1589 #D31CB8 #E646CF

Accessibility & contrast

On white

7.24
#9D1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1589
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1589#FFFFFF#000000##FFFFFF
##9D15891.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A52451
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1589;
/* rgb */ color: rgb(157, 21, 137);
/* oklch */ color: oklch(48.3% 0.201 335.6);
Tailwind
colors: {
  custom: {
    50: '#be68ac',
    500: '#9d1589',
    950: '#000000',
  },
}
SCSS
$custom: #9d1589;
$custom-light: #be68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1589",
  "rgb": {
    "r": 157,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 308.824,
    "s": 76.404,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.20133,
    "h": 335.6
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#9D1589
secondary
#47C75A
accent
#F35135
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1589

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

Preview Lab → · Contrast checker → · Palette generator →

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