#8316A0#8316A0

#8316A0 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.207 H 317.4°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8316A0
RGBrgb(131, 22, 160)
HSLhsl(287, 76%, 36%)
HSVhsv(287, 86%, 63%)
CMYKcmyk(18.1%, 86.3%, 0%, 37.3%)
CIE-LABlab(33.85, 61.14, -49.65)
CIE-LCHlch(33.85, 78.76, 320.92°)
OKLaboklab(45.75% 0.1524 -0.14)
OKLCHoklch(45.75% 0.207 317.4)
XYZxyz(15.9912, 7.9379, 33.9407)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8316A0 #33A016
analogous
#3E16A0 #8316A0 #A01678
triadic
#8316A0 #A08316 #16A083
tetradic
#8316A0 #A03E16 #33A016 #1678A0
square
#8316A0 #A03E16 #33A016 #1678A0
split-complementary
#8316A0 #78A016 #16A03E
monochromatic
#2B0734 #570F6A #8316A0 #AF1DD6 #C54AE6

Accessibility & contrast

On white

8.12
#8316A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8316A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8316A0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8316A0#FFFFFF#000000##FFFFFF
##8316A01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#1A539D
Tritanopia (blue-blind)
#82395F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8316a0;
/* rgb */ color: rgb(131, 22, 160);
/* oklch */ color: oklch(45.7% 0.207 317.4);
Tailwind
colors: {
  custom: {
    50: '#ac65bd',
    500: '#8316a0',
    950: '#000000',
  },
}
SCSS
$custom: #8316a0;
$custom-light: #ac65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8316a0",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 287.391,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.20697,
    "h": 317.4
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#8316A0
secondary
#65C84A
accent
#F2355D
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8316A0

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

Preview Lab → · Contrast checker → · Palette generator →

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