#8315A1#8315A1

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

Color values

HEX#8315A1
RGBrgb(131, 21, 161)
HSLhsl(287, 77%, 36%)
HSVhsv(287, 87%, 63%)
CMYKcmyk(18.6%, 87%, 0%, 36.9%)
CIE-LABlab(33.85, 61.56, -50.27)
CIE-LCHlch(33.85, 79.48, 320.77°)
OKLaboklab(45.77% 0.1528 -0.1418)
OKLCHoklch(45.77% 0.208 317.1)
XYZxyz(16.0603, 7.9356, 34.3970)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8315A1 #33A115
analogous
#3D15A1 #8315A1 #A11579
triadic
#8315A1 #A18315 #15A183
tetradic
#8315A1 #A13D15 #33A115 #1579A1
square
#8315A1 #A13D15 #33A115 #1579A1
split-complementary
#8315A1 #79A115 #15A13D
monochromatic
#2B0735 #570E6B #8315A1 #AF1CD7 #C549E7

Accessibility & contrast

On white

8.12
#8315A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8315A1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8315A1#FFFFFF#000000##FFFFFF
##8315A11.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)
#0049A4
Deuteranopia (green-blind)
#17539E
Tritanopia (blue-blind)
#813A5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8315a1;
/* rgb */ color: rgb(131, 21, 161);
/* oklch */ color: oklch(45.8% 0.208 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac65be',
    500: '#8315a1',
    950: '#000000',
  },
}
SCSS
$custom: #8315a1;
$custom-light: #ac65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8315a1",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 161
  },
  "hsl": {
    "h": 287.143,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45765,
    "c": 0.20846,
    "h": 317.1
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#8315A1
secondary
#65C849
accent
#F3345D
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8315A1

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

Preview Lab → · Contrast checker → · Palette generator →

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