#8019A7#8019A7

#8019A7 is a mid, highly saturated purple. Relative luminance 0.081; OKLCH L 46.0% C 0.210 H 313.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#8019A7
RGBrgb(128, 25, 167)
HSLhsl(284, 74%, 38%)
HSVhsv(284, 85%, 65%)
CMYKcmyk(23.4%, 85%, 0%, 34.5%)
CIE-LABlab(34.14, 61.24, -53.44)
CIE-LCHlch(34.14, 81.28, 318.89°)
OKLaboklab(46.01% 0.1451 -0.1513)
OKLCHoklch(46.01% 0.21 313.8)
XYZxyz(16.2235, 8.0750, 37.2558)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8019A7 #40A719
analogous
#3919A7 #8019A7 #A71987
triadic
#8019A7 #A78019 #19A780
tetradic
#8019A7 #A73919 #40A719 #1987A7
square
#8019A7 #A73919 #40A719 #1987A7
split-complementary
#8019A7 #87A719 #19A739
monochromatic
#2E093D #571172 #8019A7 #A921DC #BE55E6

Accessibility & contrast

On white

8.03
#8019A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8019A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8019A7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8019A7#FFFFFF#000000##FFFFFF
##8019A71.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#7C3F63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8019a7;
/* rgb */ color: rgb(128, 25, 167);
/* oklch */ color: oklch(46.0% 0.210 313.8);
Tailwind
colors: {
  custom: {
    50: '#aa66c2',
    500: '#8019a7',
    950: '#000000',
  },
}
SCSS
$custom: #8019a7;
$custom-light: #aa66c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8019a7",
  "rgb": {
    "r": 128,
    "g": 25,
    "b": 167
  },
  "hsl": {
    "h": 283.521,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46012,
    "c": 0.20964,
    "h": 313.8
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#8019A7
secondary
#74C853
accent
#F1376A
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8019A7

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

Preview Lab → · Contrast checker → · Palette generator →

#8019A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva