#9517B4#9517B4

#9517B4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.9% C 0.228 H 318.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9517B4
RGBrgb(149, 23, 180)
HSLhsl(288, 77%, 40%)
HSVhsv(288, 87%, 71%)
CMYKcmyk(17.2%, 87.2%, 0%, 29.4%)
CIE-LABlab(38.37, 67.61, -54.18)
CIE-LCHlch(38.37, 86.64, 321.29°)
OKLaboklab(49.94% 0.1696 -0.1527)
OKLCHoklch(49.94% 0.228 318)
XYZxyz(20.9379, 10.2986, 44.0561)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9517B4 #36B417
analogous
#4717B4 #9517B4 #B41784
triadic
#9517B4 #B49517 #17B495
tetradic
#9517B4 #B44717 #36B417 #1784B4
square
#9517B4 #B44717 #36B417 #1784B4
split-complementary
#9517B4 #84B417 #17B447
monochromatic
#3B0947 #68107E #9517B4 #BE25E3 #CE5BEA

Accessibility & contrast

On white

6.86
#9517B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9517B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9517B4
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9517B4#FFFFFF#000000##FFFFFF
##9517B41.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#1F5EB1
Tritanopia (blue-blind)
#94406B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9517b4;
/* rgb */ color: rgb(149, 23, 180);
/* oklch */ color: oklch(49.9% 0.228 318.0);
Tailwind
colors: {
  custom: {
    50: '#b969cb',
    500: '#9517b4',
    950: '#000000',
  },
}
SCSS
$custom: #9517b4;
$custom-light: #b969cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9517b4",
  "rgb": {
    "r": 149,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 288.153,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49938,
    "c": 0.22826,
    "h": 318
  },
  "luminance": 0.10298
}

Semantic roles & 50–950 ramp

primary
#9517B4
secondary
#70CE59
accent
#F4345A
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9517B4

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

Preview Lab → · Contrast checker → · Palette generator →

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