#9C1F92#9C1F92

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

Color values

HEX#9C1F92
RGBrgb(156, 31, 146)
HSLhsl(305, 67%, 37%)
HSVhsv(305, 80%, 61%)
CMYKcmyk(0%, 80.1%, 6.4%, 38.8%)
CIE-LABlab(38.07, 61.29, -34.15)
CIE-LCHlch(38.07, 70.16, 330.87°)
OKLaboklab(49.26% 0.1757 -0.0941)
OKLCHoklch(49.26% 0.199 331.8)
XYZxyz(19.3886, 10.1249, 28.1217)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F92 #1F9C29
analogous
#681F9C #9C1F92 #9C1F54
triadic
#9C1F92 #929C1F #1F929C
tetradic
#9C1F92 #9C681F #1F9C29 #1F549C
square
#9C1F92 #9C681F #1F9C29 #1F549C
split-complementary
#9C1F92 #549C1F #1F9C68
monochromatic
#360B32 #691562 #9C1F92 #CF29C2 #DE58D3

Accessibility & contrast

On white

6.94
#9C1F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C1F92
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F92#FFFFFF#000000##FFFFFF
##9C1F921.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F95
Deuteranopia (green-blind)
#4A608F
Tritanopia (blue-blind)
#A33058
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1f92;
/* rgb */ color: rgb(156, 31, 146);
/* oklch */ color: oklch(49.3% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#bd6bb2',
    500: '#9c1f92',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f92;
$custom-light: #bd6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f92",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 304.8,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49262,
    "c": 0.19933,
    "h": 331.8
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#9C1F92
secondary
#55C15E
accent
#EA4C3E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F92

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

Preview Lab → · Contrast checker → · Palette generator →

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