#9C1D99#9C1D99

#9C1D99 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.206 H 329.2°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9C1D99
RGBrgb(156, 29, 153)
HSLhsl(301, 69%, 36%)
HSVhsv(301, 81%, 61%)
CMYKcmyk(0%, 81.4%, 1.9%, 38.8%)
CIE-LABlab(38.28, 62.91, -38.06)
CIE-LCHlch(38.28, 73.53, 328.82°)
OKLaboklab(49.55% 0.1771 -0.1054)
OKLCHoklch(49.55% 0.206 329.2)
XYZxyz(19.8993, 10.2481, 31.0608)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1D99 #1D9C20
analogous
#601D9C #9C1D99 #9C1D5A
triadic
#9C1D99 #999C1D #1D999C
tetradic
#9C1D99 #9C601D #1D9C20 #1D5A9C
square
#9C1D99 #9C601D #1D9C20 #1D5A9C
split-complementary
#9C1D99 #5A9C1D #1D9C60
monochromatic
#350A34 #681366 #9C1D99 #D027CC #DF54DC

Accessibility & contrast

On white

6.89
#9C1D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C1D99
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1D99#FFFFFF#000000##FFFFFF
##9C1D991.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c1d99;
/* rgb */ color: rgb(156, 29, 153);
/* oklch */ color: oklch(49.5% 0.206 329.2);
Tailwind
colors: {
  custom: {
    50: '#bd6bb7',
    500: '#9c1d99',
    950: '#000000',
  },
}
SCSS
$custom: #9c1d99;
$custom-light: #bd6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1d99",
  "rgb": {
    "r": 156,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 301.417,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.20615,
    "h": 329.2
  },
  "luminance": 0.10247
}

Semantic roles & 50–950 ramp

primary
#9C1D99
secondary
#52C255
accent
#EB403C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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