#8027A6#8027A6

#8027A6 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.196 H 313.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8027A6
RGBrgb(128, 39, 166)
HSLhsl(282, 62%, 40%)
HSVhsv(282, 77%, 65%)
CMYKcmyk(22.9%, 76.5%, 0%, 34.9%)
CIE-LABlab(35.58, 56.63, -50.50)
CIE-LCHlch(35.58, 75.87, 318.28°)
OKLaboklab(47% 0.1345 -0.1427)
OKLCHoklch(47% 0.196 313.3)
XYZxyz(16.5093, 8.7939, 36.8967)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A6 #4DA627
analogous
#4027A6 #8027A6 #A6278D
triadic
#8027A6 #A68027 #27A680
tetradic
#8027A6 #A64027 #4DA627 #278DA6
square
#8027A6 #A64027 #4DA627 #278DA6
split-complementary
#8027A6 #8DA627 #27A640
monochromatic
#341043 #5A1B74 #8027A6 #A33AD1 #BA6BDC

Accessibility & contrast

On white

7.61
#8027A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8027A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027A6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027A6#FFFFFF#000000##FFFFFF
##8027A61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#1956A3
Tritanopia (blue-blind)
#7C4465
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8027a6;
/* rgb */ color: rgb(128, 39, 166);
/* oklch */ color: oklch(47.0% 0.196 313.3);
Tailwind
colors: {
  custom: {
    50: '#a96bc1',
    500: '#8027a6',
    950: '#000000',
  },
}
SCSS
$custom: #8027a6;
$custom-light: #a96bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a6",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 166
  },
  "hsl": {
    "h": 282.047,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47002,
    "c": 0.19612,
    "h": 313.3
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#8027A6
secondary
#82C366
accent
#E54373
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A6

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

Preview Lab → · Contrast checker → · Palette generator →

#8027A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva