#9A17A0#9A17A0

#9A17A0 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.215 H 326.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9A17A0
RGBrgb(154, 23, 160)
HSLhsl(297, 75%, 36%)
HSVhsv(297, 86%, 63%)
CMYKcmyk(3.8%, 85.6%, 0%, 37.3%)
CIE-LABlab(37.88, 65.03, -42.96)
CIE-LCHlch(37.88, 77.94, 326.55°)
OKLaboklab(49.33% 0.1784 -0.1197)
OKLCHoklch(49.33% 0.215 326.1)
XYZxyz(19.9776, 10.0223, 34.1332)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A17A0 #1DA017
analogous
#5517A0 #9A17A0 #A01761
triadic
#9A17A0 #A09A17 #17A09A
tetradic
#9A17A0 #A05517 #1DA017 #1761A0
square
#9A17A0 #A05517 #1DA017 #1761A0
split-complementary
#9A17A0 #61A017 #17A055
monochromatic
#330835 #660F6A #9A17A0 #CD1FD6 #DF4CE5

Accessibility & contrast

On white

6.99
#9A17A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9A17A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A17A0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A17A0#FFFFFF#000000##FFFFFF
##9A17A01.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#3D5E9D
Tritanopia (blue-blind)
#9E345F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a17a0;
/* rgb */ color: rgb(154, 23, 160);
/* oklch */ color: oklch(49.3% 0.215 326.1);
Tailwind
colors: {
  custom: {
    50: '#bc69bd',
    500: '#9a17a0',
    950: '#000000',
  },
}
SCSS
$custom: #9a17a0;
$custom-light: #bc69bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a17a0",
  "rgb": {
    "r": 154,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 297.372,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.21489,
    "h": 326.1
  },
  "luminance": 0.10021
}

Semantic roles & 50–950 ramp

primary
#9A17A0
secondary
#51C74C
accent
#F1363F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9A17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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