#9D1C99#9D1C99

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

Color values

HEX#9D1C99
RGBrgb(157, 28, 153)
HSLhsl(302, 70%, 36%)
HSVhsv(302, 82%, 62%)
CMYKcmyk(0%, 82.2%, 2.5%, 38.4%)
CIE-LABlab(38.38, 63.36, -37.91)
CIE-LCHlch(38.38, 73.84, 329.11°)
OKLaboklab(49.64% 0.1789 -0.1049)
OKLCHoklch(49.64% 0.207 329.6)
XYZxyz(20.0695, 10.3001, 31.0619)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D1C99 #1C9D20
analogous
#611C9D #9D1C99 #9D1C59
triadic
#9D1C99 #999D1C #1C999D
tetradic
#9D1C99 #9D611C #1C9D20 #1C599D
square
#9D1C99 #9D611C #1C9D20 #1C599D
split-complementary
#9D1C99 #599D1C #1C9D61
monochromatic
#350934 #691366 #9D1C99 #D125CC #E053DC

Accessibility & contrast

On white

6.86
#9D1C99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9D1C99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D1C99
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D1C99#FFFFFF#000000##FFFFFF
##9D1C991.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#A3325C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d1c99;
/* rgb */ color: rgb(157, 28, 153);
/* oklch */ color: oklch(49.6% 0.207 329.6);
Tailwind
colors: {
  custom: {
    50: '#be6ab7',
    500: '#9d1c99',
    950: '#000000',
  },
}
SCSS
$custom: #9d1c99;
$custom-light: #be6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d1c99",
  "rgb": {
    "r": 157,
    "g": 28,
    "b": 153
  },
  "hsl": {
    "h": 301.86,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49644,
    "c": 0.2074,
    "h": 329.6
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#9D1C99
secondary
#51C355
accent
#ED413B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D1C99

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

Preview Lab → · Contrast checker → · Palette generator →

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