#8017A1#8017A1

#8017A1 is a mid, highly saturated purple. Relative luminance 0.078; OKLCH L 45.4% C 0.206 H 315.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8017A1
RGBrgb(128, 23, 161)
HSLhsl(286, 75%, 36%)
HSVhsv(286, 86%, 63%)
CMYKcmyk(20.5%, 85.7%, 0%, 36.9%)
CIE-LABlab(33.51, 60.58, -50.84)
CIE-LCHlch(33.51, 79.09, 320.00°)
OKLaboklab(45.43% 0.1478 -0.1436)
OKLCHoklch(45.43% 0.206 315.8)
XYZxyz(15.6405, 7.7758, 34.3883)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8017A1 #38A117
analogous
#3B17A1 #8017A1 #A1177D
triadic
#8017A1 #A18017 #17A180
tetradic
#8017A1 #A13B17 #38A117 #177DA1
square
#8017A1 #A13B17 #38A117 #177DA1
split-complementary
#8017A1 #7DA117 #17A13B
monochromatic
#2B0836 #550F6B #8017A1 #AB1FD7 #C14DE6

Accessibility & contrast

On white

8.22
#8017A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8017A1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8017A1#FFFFFF#000000##FFFFFF
##8017A11.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A4
Deuteranopia (green-blind)
#11519E
Tritanopia (blue-blind)
#7D3B5F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8017a1;
/* rgb */ color: rgb(128, 23, 161);
/* oklch */ color: oklch(45.4% 0.206 315.8);
Tailwind
colors: {
  custom: {
    50: '#aa65be',
    500: '#8017a1',
    950: '#000000',
  },
}
SCSS
$custom: #8017a1;
$custom-light: #aa65be;
$custom-dark: #000000;
JSON
{
  "hex": "#8017a1",
  "rgb": {
    "r": 128,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 285.652,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.20608,
    "h": 315.8
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#8017A1
secondary
#6AC74C
accent
#F23663
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #8017A1

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

Preview Lab → · Contrast checker → · Palette generator →

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