#8018A1#8018A1

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

Color values

HEX#8018A1
RGBrgb(128, 24, 161)
HSLhsl(286, 74%, 36%)
HSVhsv(286, 85%, 63%)
CMYKcmyk(20.5%, 85.1%, 0%, 36.9%)
CIE-LABlab(33.60, 60.33, -50.70)
CIE-LCHlch(33.60, 78.80, 319.96°)
OKLaboklab(45.49% 0.1472 -0.1432)
OKLCHoklch(45.49% 0.205 315.8)
XYZxyz(15.6607, 7.8163, 34.3951)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8018A1 #39A118
analogous
#3B18A1 #8018A1 #A1187E
triadic
#8018A1 #A18018 #18A180
tetradic
#8018A1 #A13B18 #39A118 #187EA1
square
#8018A1 #A13B18 #39A118 #187EA1
split-complementary
#8018A1 #7EA118 #18A13B
monochromatic
#2B0836 #56106C #8018A1 #AA20D6 #C14FE5

Accessibility & contrast

On white

8.19
#8018A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8018A1
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8018A1#FFFFFF#000000##FFFFFF
##8018A11.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8018a1;
/* rgb */ color: rgb(128, 24, 161);
/* oklch */ color: oklch(45.5% 0.205 315.8);
Tailwind
colors: {
  custom: {
    50: '#a965be',
    500: '#8018a1',
    950: '#000000',
  },
}
SCSS
$custom: #8018a1;
$custom-light: #a965be;
$custom-dark: #000000;
JSON
{
  "hex": "#8018a1",
  "rgb": {
    "r": 128,
    "g": 24,
    "b": 161
  },
  "hsl": {
    "h": 285.547,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45492,
    "c": 0.20535,
    "h": 315.8
  },
  "luminance": 0.07816
}

Semantic roles & 50–950 ramp

primary
#8018A1
secondary
#6BC74E
accent
#F13764
background
#FAF6FB
surface
#F5EBF7
border
#CFC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #8018A1

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

Preview Lab → · Contrast checker → · Palette generator →

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