#9C1C98#9C1C98

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

Color values

HEX#9C1C98
RGBrgb(156, 28, 152)
HSLhsl(302, 70%, 36%)
HSVhsv(302, 82%, 61%)
CMYKcmyk(0%, 82.1%, 2.6%, 38.8%)
CIE-LABlab(38.14, 63.00, -37.69)
CIE-LCHlch(38.14, 73.41, 329.11°)
OKLaboklab(49.43% 0.1779 -0.1043)
OKLCHoklch(49.43% 0.206 329.6)
XYZxyz(19.7929, 10.1670, 30.6196)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1C98 #1C9C20
analogous
#601C9C #9C1C98 #9C1C58
triadic
#9C1C98 #989C1C #1C989C
tetradic
#9C1C98 #9C601C #1C9C20 #1C589C
square
#9C1C98 #9C601C #1C9C20 #1C589C
split-complementary
#9C1C98 #589C1C #1C9C60
monochromatic
#340933 #681365 #9C1C98 #D025CB #E052DC

Accessibility & contrast

On white

6.92
#9C1C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C1C98
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1C98#FFFFFF#000000##FFFFFF
##9C1C981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#A2315B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c1c98;
/* rgb */ color: rgb(156, 28, 152);
/* oklch */ color: oklch(49.4% 0.206 329.6);
Tailwind
colors: {
  custom: {
    50: '#bd6ab7',
    500: '#9c1c98',
    950: '#000000',
  },
}
SCSS
$custom: #9c1c98;
$custom-light: #bd6ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1c98",
  "rgb": {
    "r": 156,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 301.875,
    "s": 69.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49425,
    "c": 0.20622,
    "h": 329.6
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#9C1C98
secondary
#51C354
accent
#EC413B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9C1C98

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

Preview Lab → · Contrast checker → · Palette generator →

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