#9D1688#9D1688

#9D1688 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.3% C 0.200 H 336.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D1688
RGBrgb(157, 22, 136)
HSLhsl(309, 75%, 35%)
HSVhsv(309, 86%, 62%)
CMYKcmyk(0%, 86%, 13.4%, 38.4%)
CIE-LABlab(36.97, 62.16, -29.73)
CIE-LCHlch(36.97, 68.90, 334.44°)
OKLaboklab(48.34% 0.1827 -0.0813)
OKLCHoklch(48.34% 0.2 336)
XYZxyz(18.6358, 9.5213, 24.1441)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1688 #169D2B
analogous
#6E169D #9D1688 #9D1645
triadic
#9D1688 #889D16 #16889D
tetradic
#9D1688 #9D6E16 #169D2B #16459D
square
#9D1688 #9D6E16 #169D2B #16459D
split-complementary
#9D1688 #459D16 #169D6E
monochromatic
#32072B #670E5A #9D1688 #D31EB6 #E548CD

Accessibility & contrast

On white

7.23
#9D1688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D1688
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1688#FFFFFF#000000##FFFFFF
##9D16881.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#A52451
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d1688;
/* rgb */ color: rgb(157, 22, 136);
/* oklch */ color: oklch(48.3% 0.200 336.0);
Tailwind
colors: {
  custom: {
    50: '#be68ab',
    500: '#9d1688',
    950: '#000000',
  },
}
SCSS
$custom: #9d1688;
$custom-light: #be68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1688",
  "rgb": {
    "r": 157,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 309.333,
    "s": 75.419,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.19999,
    "h": 336
  },
  "luminance": 0.09519
}

Semantic roles & 50–950 ramp

primary
#9D1688
secondary
#48C75C
accent
#F25336
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9D1688

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

Preview Lab → · Contrast checker → · Palette generator →

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