#9C1F99#9C1F99

#9C1F99 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.204 H 329.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9C1F99
RGBrgb(156, 31, 153)
HSLhsl(301, 67%, 37%)
HSVhsv(301, 80%, 61%)
CMYKcmyk(0%, 80.1%, 1.9%, 38.8%)
CIE-LABlab(38.46, 62.40, -37.78)
CIE-LCHlch(38.46, 72.94, 328.80°)
OKLaboklab(49.67% 0.1757 -0.1046)
OKLCHoklch(49.67% 0.204 329.2)
XYZxyz(19.9499, 10.3494, 31.0777)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F99 #1F9C22
analogous
#611F9C #9C1F99 #9C1F5B
triadic
#9C1F99 #999C1F #1F999C
tetradic
#9C1F99 #9C611F #1F9C22 #1F5B9C
square
#9C1F99 #9C611F #1F9C22 #1F5B9C
split-complementary
#9C1F99 #5B9C1F #1F9C61
monochromatic
#360B35 #691567 #9C1F99 #CF29CB #DE58DB

Accessibility & contrast

On white

6.84
#9C1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F99
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F99#FFFFFF#000000##FFFFFF
##9C1F991.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c1f99;
/* rgb */ color: rgb(156, 31, 153);
/* oklch */ color: oklch(49.7% 0.204 329.2);
Tailwind
colors: {
  custom: {
    50: '#bd6bb7',
    500: '#9c1f99',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f99;
$custom-light: #bd6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f99",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 301.44,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.20446,
    "h": 329.2
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#9C1F99
secondary
#55C158
accent
#EA423E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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