#9C1C97#9C1C97

#9C1C97 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.205 H 330.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C1C97
RGBrgb(156, 28, 151)
HSLhsl(302, 70%, 36%)
HSVhsv(302, 82%, 61%)
CMYKcmyk(0%, 82.1%, 3.2%, 38.8%)
CIE-LABlab(38.08, 62.84, -37.17)
CIE-LCHlch(38.08, 73.01, 329.40°)
OKLaboklab(49.36% 0.1779 -0.1028)
OKLCHoklch(49.36% 0.205 330)
XYZxyz(19.7114, 10.1344, 30.1901)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1C97 #1C9C21
analogous
#611C9C #9C1C97 #9C1C57
triadic
#9C1C97 #979C1C #1C979C
tetradic
#9C1C97 #9C611C #1C9C21 #1C579C
square
#9C1C97 #9C611C #1C9C21 #1C579C
split-complementary
#9C1C97 #579C1C #1C9C61
monochromatic
#340933 #681365 #9C1C97 #D025C9 #E052DA

Accessibility & contrast

On white

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

On black

3.03
#9C1C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9C1C97#FFFFFF#000000##FFFFFF
##9C1C971.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#465F94
Tritanopia (blue-blind)
#A2315B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1c97;
/* rgb */ color: rgb(156, 28, 151);
/* oklch */ color: oklch(49.4% 0.205 330.0);
Tailwind
colors: {
  custom: {
    50: '#bd6ab6',
    500: '#9c1c97',
    950: '#000000',
  },
}
SCSS
$custom: #9c1c97;
$custom-light: #bd6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1c97",
  "rgb": {
    "r": 156,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 302.344,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49365,
    "c": 0.20549,
    "h": 330
  },
  "luminance": 0.10133
}

Semantic roles & 50–950 ramp

primary
#9C1C97
secondary
#51C355
accent
#EC423B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9C1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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