#9317B4#9317B4

#9317B4 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.6% C 0.228 H 317.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9317B4
RGBrgb(147, 23, 180)
HSLhsl(287, 77%, 40%)
HSVhsv(287, 87%, 71%)
CMYKcmyk(18.3%, 87.2%, 0%, 29.4%)
CIE-LABlab(38.04, 67.28, -54.73)
CIE-LCHlch(38.04, 86.73, 320.87°)
OKLaboklab(49.64% 0.1672 -0.1544)
OKLCHoklch(49.64% 0.228 317.3)
XYZxyz(20.5760, 10.1121, 44.0392)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9317B4 #38B417
analogous
#4517B4 #9317B4 #B41786
triadic
#9317B4 #B49317 #17B493
tetradic
#9317B4 #B44517 #38B417 #1786B4
square
#9317B4 #B44517 #38B417 #1786B4
split-complementary
#9317B4 #86B417 #17B445
monochromatic
#3A0947 #67107E #9317B4 #BB25E3 #CC5BEA

Accessibility & contrast

On white

6.95
#9317B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9317B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9317B4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9317B4#FFFFFF#000000##FFFFFF
##9317B41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#1A5DB1
Tritanopia (blue-blind)
#91416B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9317b4;
/* rgb */ color: rgb(147, 23, 180);
/* oklch */ color: oklch(49.6% 0.228 317.3);
Tailwind
colors: {
  custom: {
    50: '#b869cb',
    500: '#9317b4',
    950: '#000000',
  },
}
SCSS
$custom: #9317b4;
$custom-light: #b869cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9317b4",
  "rgb": {
    "r": 147,
    "g": 23,
    "b": 180
  },
  "hsl": {
    "h": 287.389,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.22761,
    "h": 317.3
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#9317B4
secondary
#72CE59
accent
#F4345C
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9317B4

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

Preview Lab → · Contrast checker → · Palette generator →

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