#8018A0#8018A0

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

Color values

HEX#8018A0
RGBrgb(128, 24, 160)
HSLhsl(286, 74%, 36%)
HSVhsv(286, 85%, 63%)
CMYKcmyk(20%, 85%, 0%, 37.3%)
CIE-LABlab(33.52, 60.14, -50.21)
CIE-LCHlch(33.52, 78.34, 320.14°)
OKLaboklab(45.42% 0.1474 -0.1418)
OKLCHoklch(45.42% 0.205 316.1)
XYZxyz(15.5729, 7.7812, 33.9325)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8018A0 #38A018
analogous
#3C18A0 #8018A0 #A0187C
triadic
#8018A0 #A08018 #18A080
tetradic
#8018A0 #A03C18 #38A018 #187CA0
square
#8018A0 #A03C18 #38A018 #187CA0
split-complementary
#8018A0 #7CA018 #18A03C
monochromatic
#2B0836 #55106B #8018A0 #AB20D5 #C14EE4

Accessibility & contrast

On white

8.22
#8018A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8018A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8018A0
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8018A0#FFFFFF#000000##FFFFFF
##8018A01.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8018a0;
/* rgb */ color: rgb(128, 24, 160);
/* oklch */ color: oklch(45.4% 0.205 316.1);
Tailwind
colors: {
  custom: {
    50: '#a965bd',
    500: '#8018a0',
    950: '#000000',
  },
}
SCSS
$custom: #8018a0;
$custom-light: #a965bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8018a0",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 285.882,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45417,
    "c": 0.20451,
    "h": 316.1
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#8018A0
secondary
#6AC64D
accent
#F13763
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #8018A0

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

Preview Lab → · Contrast checker → · Palette generator →

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