#9C1F91#9C1F91

#9C1F91 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.199 H 332.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9C1F91
RGBrgb(156, 31, 145)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 80%, 61%)
CMYKcmyk(0%, 80.1%, 7.1%, 38.8%)
CIE-LABlab(38.01, 61.14, -33.63)
CIE-LCHlch(38.01, 69.78, 331.19°)
OKLaboklab(49.2% 0.1757 -0.0926)
OKLCHoklch(49.2% 0.199 332.2)
XYZxyz(19.3112, 10.0939, 27.7138)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F91 #1F9C2A
analogous
#691F9C #9C1F91 #9C1F53
triadic
#9C1F91 #919C1F #1F919C
tetradic
#9C1F91 #9C691F #1F9C2A #1F539C
square
#9C1F91 #9C691F #1F9C2A #1F539C
split-complementary
#9C1F91 #539C1F #1F9C69
monochromatic
#360B32 #691562 #9C1F91 #CF29C0 #DE58D2

Accessibility & contrast

On white

6.96
#9C1F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9C1F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F91
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F91#FFFFFF#000000##FFFFFF
##9C1F911.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#4A608E
Tritanopia (blue-blind)
#A32F58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c1f91;
/* rgb */ color: rgb(156, 31, 145);
/* oklch */ color: oklch(49.2% 0.199 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6bb1',
    500: '#9c1f91',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f91;
$custom-light: #bd6bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f91",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 305.28,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49204,
    "c": 0.19861,
    "h": 332.2
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#9C1F91
secondary
#55C15F
accent
#EA4D3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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