#8017A0#8017A0

#8017A0 is a mid, highly saturated purple. Relative luminance 0.077; OKLCH L 45.4% C 0.205 H 316.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8017A0
RGBrgb(128, 23, 160)
HSLhsl(286, 75%, 36%)
HSVhsv(286, 86%, 63%)
CMYKcmyk(20%, 85.6%, 0%, 37.3%)
CIE-LABlab(33.44, 60.39, -50.35)
CIE-LCHlch(33.44, 78.63, 320.18°)
OKLaboklab(45.36% 0.148 -0.1422)
OKLCHoklch(45.36% 0.205 316.1)
XYZxyz(15.5526, 7.7407, 33.9258)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8017A0 #37A017
analogous
#3B17A0 #8017A0 #A0177B
triadic
#8017A0 #A08017 #17A080
tetradic
#8017A0 #A03B17 #37A017 #177BA0
square
#8017A0 #A03B17 #37A017 #177BA0
split-complementary
#8017A0 #7BA017 #17A03B
monochromatic
#2A0835 #550F6A #8017A0 #AB1FD6 #C24CE5

Accessibility & contrast

On white

8.24
#8017A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8017A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8017A0
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8017A0#FFFFFF#000000##FFFFFF
##8017A01.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A3
Deuteranopia (green-blind)
#13519D
Tritanopia (blue-blind)
#7E3A5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8017a0;
/* rgb */ color: rgb(128, 23, 160);
/* oklch */ color: oklch(45.4% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#a965bd',
    500: '#8017a0',
    950: '#000000',
  },
}
SCSS
$custom: #8017a0;
$custom-light: #a965bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8017a0",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 285.985,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.20526,
    "h": 316.1
  },
  "luminance": 0.0774
}

Semantic roles & 50–950 ramp

primary
#8017A0
secondary
#69C74C
accent
#F13662
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #8017A0

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

Preview Lab → · Contrast checker → · Palette generator →

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