#9D1B99#9D1B99

#9D1B99 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.208 H 329.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9D1B99
RGBrgb(157, 27, 153)
HSLhsl(302, 71%, 36%)
HSVhsv(302, 83%, 62%)
CMYKcmyk(0%, 82.8%, 2.5%, 38.4%)
CIE-LABlab(38.29, 63.60, -38.04)
CIE-LCHlch(38.29, 74.11, 329.12°)
OKLaboklab(49.59% 0.1796 -0.1053)
OKLCHoklch(49.59% 0.208 329.6)
XYZxyz(20.0462, 10.2535, 31.0541)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1B99 #1B9D1F
analogous
#601B9D #9D1B99 #9D1B58
triadic
#9D1B99 #999D1B #1B999D
tetradic
#9D1B99 #9D601B #1B9D1F #1B589D
square
#9D1B99 #9D601B #1B9D1F #1B589D
split-complementary
#9D1B99 #589D1B #1B9D60
monochromatic
#350933 #691266 #9D1B99 #D124CC #E151DD

Accessibility & contrast

On white

6.88
#9D1B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9D1B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1B99
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1B99#FFFFFF#000000##FFFFFF
##9D1B991.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#A3315C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1b99;
/* rgb */ color: rgb(157, 27, 153);
/* oklch */ color: oklch(49.6% 0.208 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab7',
    500: '#9d1b99',
    950: '#000000',
  },
}
SCSS
$custom: #9d1b99;
$custom-light: #be6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1b99",
  "rgb": {
    "r": 157,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 301.846,
    "s": 70.652,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.20818,
    "h": 329.6
  },
  "luminance": 0.10252
}

Semantic roles & 50–950 ramp

primary
#9D1B99
secondary
#50C454
accent
#ED403A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9D1B99

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

Preview Lab → · Contrast checker → · Palette generator →

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