#8316A1#8316A1

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

Color values

HEX#8316A1
RGBrgb(131, 22, 161)
HSLhsl(287, 76%, 36%)
HSVhsv(287, 86%, 63%)
CMYKcmyk(18.6%, 86.3%, 0%, 36.9%)
CIE-LABlab(33.93, 61.33, -50.14)
CIE-LCHlch(33.93, 79.22, 320.73°)
OKLaboklab(45.82% 0.1522 -0.1415)
OKLCHoklch(45.82% 0.208 317.1)
XYZxyz(16.0790, 7.9730, 34.4033)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8316A1 #34A116
analogous
#3D16A1 #8316A1 #A11679
triadic
#8316A1 #A18316 #16A183
tetradic
#8316A1 #A13D16 #34A116 #1679A1
square
#8316A1 #A13D16 #34A116 #1679A1
split-complementary
#8316A1 #79A116 #16A13D
monochromatic
#2B0735 #570F6B #8316A1 #AF1DD7 #C54BE6

Accessibility & contrast

On white

8.09
#8316A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8316A1
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8316A1#FFFFFF#000000##FFFFFF
##8316A11.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#18539E
Tritanopia (blue-blind)
#813A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8316a1;
/* rgb */ color: rgb(131, 22, 161);
/* oklch */ color: oklch(45.8% 0.208 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac65be',
    500: '#8316a1',
    950: '#000000',
  },
}
SCSS
$custom: #8316a1;
$custom-light: #ac65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8316a1",
  "rgb": {
    "r": 131,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 287.05,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45819,
    "c": 0.20778,
    "h": 317.1
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#8316A1
secondary
#66C84B
accent
#F3355E
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8316A1

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

Preview Lab → · Contrast checker → · Palette generator →

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