#8315A0#8315A0

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

Color values

HEX#8315A0
RGBrgb(131, 21, 160)
HSLhsl(287, 77%, 35%)
HSVhsv(287, 87%, 63%)
CMYKcmyk(18.1%, 86.9%, 0%, 37.3%)
CIE-LABlab(33.77, 61.37, -49.78)
CIE-LCHlch(33.77, 79.02, 320.95°)
OKLaboklab(45.69% 0.153 -0.1404)
OKLCHoklch(45.69% 0.208 317.5)
XYZxyz(15.9725, 7.9004, 33.9345)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8315A0 #32A015
analogous
#3D15A0 #8315A0 #A01577
triadic
#8315A0 #A08315 #15A083
tetradic
#8315A0 #A03D15 #32A015 #1577A0
square
#8315A0 #A03D15 #32A015 #1577A0
split-complementary
#8315A0 #77A015 #15A03D
monochromatic
#2A0734 #570E6A #8315A0 #AF1CD6 #C648E7

Accessibility & contrast

On white

8.14
#8315A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8315A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8315A0
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8315A0#FFFFFF#000000##FFFFFF
##8315A01.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#19529D
Tritanopia (blue-blind)
#82395E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8315a0;
/* rgb */ color: rgb(131, 21, 160);
/* oklch */ color: oklch(45.7% 0.208 317.5);
Tailwind
colors: {
  custom: {
    50: '#ac65bd',
    500: '#8315a0',
    950: '#000000',
  },
}
SCSS
$custom: #8315a0;
$custom-light: #ac65bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8315a0",
  "rgb": {
    "r": 131,
    "g": 21,
    "b": 160
  },
  "hsl": {
    "h": 287.482,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4569,
    "c": 0.20766,
    "h": 317.5
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#8315A0
secondary
#63C849
accent
#F3345C
background
#FBF6FB
surface
#F6EBF7
border
#D0C6D0
text
#110612
muted
#807A81

Preview Lab

Preview with #8315A0

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

Preview Lab → · Contrast checker → · Palette generator →

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