#9D1689#9D1689

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

Color values

HEX#9D1689
RGBrgb(157, 22, 137)
HSLhsl(309, 75%, 35%)
HSVhsv(309, 86%, 62%)
CMYKcmyk(0%, 86%, 12.7%, 38.4%)
CIE-LABlab(37.02, 62.30, -30.26)
CIE-LCHlch(37.02, 69.26, 334.09°)
OKLaboklab(48.39% 0.1828 -0.0828)
OKLCHoklch(48.39% 0.201 335.6)
XYZxyz(18.7072, 9.5499, 24.5201)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1689 #169D2A
analogous
#6E169D #9D1689 #9D1645
triadic
#9D1689 #899D16 #16899D
tetradic
#9D1689 #9D6E16 #169D2A #16459D
square
#9D1689 #9D6E16 #169D2A #16459D
split-complementary
#9D1689 #459D16 #169D6E
monochromatic
#32072B #670E5A #9D1689 #D31EB8 #E548CE

Accessibility & contrast

On white

7.22
#9D1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9D1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D1689
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1689#FFFFFF#000000##FFFFFF
##9D16891.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d1689;
/* rgb */ color: rgb(157, 22, 137);
/* oklch */ color: oklch(48.4% 0.201 335.6);
Tailwind
colors: {
  custom: {
    50: '#be68ac',
    500: '#9d1689',
    950: '#000000',
  },
}
SCSS
$custom: #9d1689;
$custom-light: #be68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1689",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 308.889,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48393,
    "c": 0.20065,
    "h": 335.6
  },
  "luminance": 0.09548
}

Semantic roles & 50–950 ramp

primary
#9D1689
secondary
#48C75B
accent
#F25236
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1689

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

Preview Lab → · Contrast checker → · Palette generator →

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