#9C17A0#9C17A0

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

Color values

HEX#9C17A0
RGBrgb(156, 23, 160)
HSLhsl(298, 75%, 36%)
HSVhsv(298, 86%, 63%)
CMYKcmyk(2.5%, 85.6%, 0%, 37.3%)
CIE-LABlab(38.23, 65.40, -42.38)
CIE-LCHlch(38.23, 77.93, 327.06°)
OKLaboklab(49.65% 0.1806 -0.118)
OKLCHoklch(49.65% 0.216 326.8)
XYZxyz(20.3615, 10.2203, 34.1512)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C17A0 #1BA017
analogous
#5717A0 #9C17A0 #A0175F
triadic
#9C17A0 #A09C17 #17A09C
tetradic
#9C17A0 #A05717 #1BA017 #175FA0
square
#9C17A0 #A05717 #1BA017 #175FA0
split-complementary
#9C17A0 #5FA017 #17A057
monochromatic
#340835 #680F6A #9C17A0 #D01FD6 #E14CE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C17A0#FFFFFF#000000##FFFFFF
##9C17A01.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)
#0050A3
Deuteranopia (green-blind)
#3F5F9D
Tritanopia (blue-blind)
#A0345F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c17a0;
/* rgb */ color: rgb(156, 23, 160);
/* oklch */ color: oklch(49.6% 0.216 326.8);
Tailwind
colors: {
  custom: {
    50: '#bd69bd',
    500: '#9c17a0',
    950: '#000000',
  },
}
SCSS
$custom: #9c17a0;
$custom-light: #bd69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9c17a0",
  "rgb": {
    "r": 156,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 298.248,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49646,
    "c": 0.2157,
    "h": 326.8
  },
  "luminance": 0.10219
}

Semantic roles & 50–950 ramp

primary
#9C17A0
secondary
#4FC74C
accent
#F1363C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130712
muted
#827A81

Preview Lab

Preview with #9C17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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