#8018A7#8018A7

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

Color values

HEX#8018A7
RGBrgb(128, 24, 167)
HSLhsl(284, 75%, 37%)
HSVhsv(284, 86%, 65%)
CMYKcmyk(23.4%, 85.6%, 0%, 34.5%)
CIE-LABlab(34.05, 61.50, -53.58)
CIE-LCHlch(34.05, 81.57, 318.94°)
OKLaboklab(45.95% 0.1458 -0.1517)
OKLCHoklch(45.95% 0.21 313.9)
XYZxyz(16.2026, 8.0330, 37.2488)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8018A7 #3FA718
analogous
#3818A7 #8018A7 #A71887
triadic
#8018A7 #A78018 #18A780
tetradic
#8018A7 #A73818 #3FA718 #1887A7
square
#8018A7 #A73818 #3FA718 #1887A7
split-complementary
#8018A7 #87A718 #18A738
monochromatic
#2E093C #571071 #8018A7 #A920DD #BE53E6

Accessibility & contrast

On white

8.06
#8018A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8018A7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8018A7#FFFFFF#000000##FFFFFF
##8018A71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8018a7;
/* rgb */ color: rgb(128, 24, 167);
/* oklch */ color: oklch(46.0% 0.210 313.9);
Tailwind
colors: {
  custom: {
    50: '#aa65c2',
    500: '#8018a7',
    950: '#000000',
  },
}
SCSS
$custom: #8018a7;
$custom-light: #aa65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8018a7",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 167
  },
  "hsl": {
    "h": 283.636,
    "s": 74.869,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45951,
    "c": 0.21036,
    "h": 313.9
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#8018A7
secondary
#72C952
accent
#F13669
background
#FAF6FC
surface
#F5EBF8
border
#CFC6D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8018A7

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

Preview Lab → · Contrast checker → · Palette generator →

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