#9717A0#9717A0

#9717A0 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.9% C 0.214 H 325.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9717A0
RGBrgb(151, 23, 160)
HSLhsl(296, 75%, 36%)
HSVhsv(296, 86%, 63%)
CMYKcmyk(5.6%, 85.6%, 0%, 37.3%)
CIE-LABlab(37.36, 64.48, -43.83)
CIE-LCHlch(37.36, 77.97, 325.79°)
OKLaboklab(48.86% 0.1752 -0.1224)
OKLCHoklch(48.86% 0.214 325.1)
XYZxyz(19.4136, 9.7315, 34.1067)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9717A0 #20A017
analogous
#5217A0 #9717A0 #A01764
triadic
#9717A0 #A09717 #17A097
tetradic
#9717A0 #A05217 #20A017 #1764A0
square
#9717A0 #A05217 #20A017 #1764A0
split-complementary
#9717A0 #64A017 #17A052
monochromatic
#320835 #640F6A #9717A0 #C91FD6 #DB4CE5

Accessibility & contrast

On white

7.13
#9717A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9717A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9717A0
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9717A0#FFFFFF#000000##FFFFFF
##9717A01.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#395D9D
Tritanopia (blue-blind)
#9A355F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9717a0;
/* rgb */ color: rgb(151, 23, 160);
/* oklch */ color: oklch(48.9% 0.214 325.1);
Tailwind
colors: {
  custom: {
    50: '#ba68bd',
    500: '#9717a0',
    950: '#000000',
  },
}
SCSS
$custom: #9717a0;
$custom-light: #ba68bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9717a0",
  "rgb": {
    "r": 151,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 296.058,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4886,
    "c": 0.21369,
    "h": 325.1
  },
  "luminance": 0.0973
}

Semantic roles & 50–950 ramp

primary
#9717A0
secondary
#54C74C
accent
#F13643
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9717A0

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

Preview Lab → · Contrast checker → · Palette generator →

#9717A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva