#8317A0#8317A0

#8317A0 is a mid, highly saturated purple. Relative luminance 0.080; OKLCH L 45.8% C 0.206 H 317.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8317A0
RGBrgb(131, 23, 160)
HSLhsl(287, 75%, 36%)
HSVhsv(287, 86%, 63%)
CMYKcmyk(18.1%, 85.6%, 0%, 37.3%)
CIE-LABlab(33.93, 60.90, -49.52)
CIE-LCHlch(33.93, 78.50, 320.88°)
OKLaboklab(45.8% 0.1518 -0.1397)
OKLCHoklch(45.8% 0.206 317.4)
XYZxyz(16.0107, 7.9769, 33.9472)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8317A0 #34A017
analogous
#3E17A0 #8317A0 #A01778
triadic
#8317A0 #A08317 #17A083
tetradic
#8317A0 #A03E17 #34A017 #1778A0
square
#8317A0 #A03E17 #34A017 #1778A0
split-complementary
#8317A0 #78A017 #17A03E
monochromatic
#2B0835 #570F6A #8317A0 #AF1FD6 #C54CE5

Accessibility & contrast

On white

8.09
#8317A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8317A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8317A0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8317A0#FFFFFF#000000##FFFFFF
##8317A01.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#1A539D
Tritanopia (blue-blind)
#823A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8317a0;
/* rgb */ color: rgb(131, 23, 160);
/* oklch */ color: oklch(45.8% 0.206 317.4);
Tailwind
colors: {
  custom: {
    50: '#ac65bd',
    500: '#8317a0',
    950: '#000000',
  },
}
SCSS
$custom: #8317a0;
$custom-light: #ac65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8317a0",
  "rgb": {
    "r": 131,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 287.299,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.20626,
    "h": 317.4
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#8317A0
secondary
#66C74C
accent
#F1365E
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8317A0

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

Preview Lab → · Contrast checker → · Palette generator →

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