#9C1F8A#9C1F8A

#9C1F8A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.194 H 335.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9C1F8A
RGBrgb(156, 31, 138)
HSLhsl(309, 67%, 37%)
HSVhsv(309, 80%, 61%)
CMYKcmyk(0%, 80.1%, 11.5%, 38.8%)
CIE-LABlab(37.63, 60.08, -29.93)
CIE-LCHlch(37.63, 67.12, 333.52°)
OKLaboklab(48.81% 0.1755 -0.0819)
OKLCHoklch(48.81% 0.194 335)
XYZxyz(18.7880, 9.8846, 24.9583)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F8A #1F9C31
analogous
#701F9C #9C1F8A #9C1F4C
triadic
#9C1F8A #8A9C1F #1F8A9C
tetradic
#9C1F8A #9C701F #1F9C31 #1F4C9C
square
#9C1F8A #9C701F #1F9C31 #1F4C9C
split-complementary
#9C1F8A #4C9C1F #1F9C70
monochromatic
#360B30 #69155D #9C1F8A #CF29B7 #DE58CA

Accessibility & contrast

On white

7.06
#9C1F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C1F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C1F8A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F8A#FFFFFF#000000##FFFFFF
##9C1F8A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#4E5F87
Tritanopia (blue-blind)
#A42B54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1f8a;
/* rgb */ color: rgb(156, 31, 138);
/* oklch */ color: oklch(48.8% 0.194 335.0);
Tailwind
colors: {
  custom: {
    50: '#bd6bac',
    500: '#9c1f8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f8a;
$custom-light: #bd6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f8a",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 308.64,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.19364,
    "h": 335
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#9C1F8A
secondary
#55C165
accent
#EA573E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9C1F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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