#9517A0#9517A0

#9517A0 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.5% C 0.213 H 324.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9517A0
RGBrgb(149, 23, 160)
HSLhsl(295, 75%, 36%)
HSVhsv(295, 86%, 63%)
CMYKcmyk(6.9%, 85.6%, 0%, 37.3%)
CIE-LABlab(37.01, 64.11, -44.41)
CIE-LCHlch(37.01, 77.99, 325.29°)
OKLaboklab(48.55% 0.173 -0.1241)
OKLCHoklch(48.55% 0.213 324.3)
XYZxyz(19.0455, 9.5417, 34.0895)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9517A0 #22A017
analogous
#5017A0 #9517A0 #A01767
triadic
#9517A0 #A09517 #17A095
tetradic
#9517A0 #A05017 #22A017 #1767A0
square
#9517A0 #A05017 #22A017 #1767A0
split-complementary
#9517A0 #67A017 #17A050
monochromatic
#310835 #630F6A #9517A0 #C71FD6 #D94CE5

Accessibility & contrast

On white

7.22
#9517A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9517A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9517A0
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9517A0#FFFFFF#000000##FFFFFF
##9517A01.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#375C9D
Tritanopia (blue-blind)
#98365F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9517a0;
/* rgb */ color: rgb(149, 23, 160);
/* oklch */ color: oklch(48.5% 0.213 324.3);
Tailwind
colors: {
  custom: {
    50: '#b868bd',
    500: '#9517a0',
    950: '#000000',
  },
}
SCSS
$custom: #9517a0;
$custom-light: #b868bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9517a0",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 295.182,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48548,
    "c": 0.2129,
    "h": 324.3
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#9517A0
secondary
#56C74C
accent
#F13645
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9517A0

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

Preview Lab → · Contrast checker → · Palette generator →

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