#9D1E99#9D1E99

#9D1E99 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.206 H 329.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D1E99
RGBrgb(157, 30, 153)
HSLhsl(302, 68%, 37%)
HSVhsv(302, 81%, 62%)
CMYKcmyk(0%, 80.9%, 2.5%, 38.4%)
CIE-LABlab(38.55, 62.86, -37.63)
CIE-LCHlch(38.55, 73.27, 329.09°)
OKLaboklab(49.77% 0.1775 -0.1042)
OKLCHoklch(49.77% 0.206 329.6)
XYZxyz(20.1185, 10.3982, 31.0782)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1E99 #1E9D22
analogous
#621E9D #9D1E99 #9D1E5A
triadic
#9D1E99 #999D1E #1E999D
tetradic
#9D1E99 #9D621E #1E9D22 #1E5A9D
square
#9D1E99 #9D621E #1E9D22 #1E5A9D
split-complementary
#9D1E99 #5A9D1E #1E9D62
monochromatic
#360A35 #6A1467 #9D1E99 #D028CB #DF57DB

Accessibility & contrast

On white

6.82
#9D1E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D1E99
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1E99#FFFFFF#000000##FFFFFF
##9D1E991.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#A3335C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d1e99;
/* rgb */ color: rgb(157, 30, 153);
/* oklch */ color: oklch(49.8% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6bb7',
    500: '#9d1e99',
    950: '#000000',
  },
}
SCSS
$custom: #9d1e99;
$custom-light: #be6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1e99",
  "rgb": {
    "r": 157,
    "g": 30,
    "b": 153
  },
  "hsl": {
    "h": 301.89,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49766,
    "c": 0.20578,
    "h": 329.6
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#9D1E99
secondary
#54C258
accent
#EB423D
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1E99

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

Preview Lab → · Contrast checker → · Palette generator →

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