#9C1F95#9C1F95

#9C1F95 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.202 H 330.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9C1F95
RGBrgb(156, 31, 149)
HSLhsl(303, 67%, 37%)
HSVhsv(303, 80%, 61%)
CMYKcmyk(0%, 80.1%, 4.5%, 38.8%)
CIE-LABlab(38.23, 61.76, -35.71)
CIE-LCHlch(38.23, 71.34, 329.96°)
OKLaboklab(49.44% 0.1757 -0.0986)
OKLCHoklch(49.44% 0.202 330.7)
XYZxyz(19.6251, 10.2194, 29.3669)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1F95 #1F9C26
analogous
#651F9C #9C1F95 #9C1F57
triadic
#9C1F95 #959C1F #1F959C
tetradic
#9C1F95 #9C651F #1F9C26 #1F579C
square
#9C1F95 #9C651F #1F9C26 #1F579C
split-complementary
#9C1F95 #579C1F #1F9C65
monochromatic
#360B33 #691564 #9C1F95 #CF29C6 #DE58D6

Accessibility & contrast

On white

6.90
#9C1F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C1F95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1F95
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1F95#FFFFFF#000000##FFFFFF
##9C1F951.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4F98
Deuteranopia (green-blind)
#486092
Tritanopia (blue-blind)
#A2315A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1f95;
/* rgb */ color: rgb(156, 31, 149);
/* oklch */ color: oklch(49.4% 0.202 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6bb4',
    500: '#9c1f95',
    950: '#000000',
  },
}
SCSS
$custom: #9c1f95;
$custom-light: #bd6bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1f95",
  "rgb": {
    "r": 156,
    "g": 31,
    "b": 149
  },
  "hsl": {
    "h": 303.36,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49436,
    "c": 0.20152,
    "h": 330.7
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#9C1F95
secondary
#55C15B
accent
#EA483E
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C1F95

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

Preview Lab → · Contrast checker → · Palette generator →

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