#8027A9#8027A9

#8027A9 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.199 H 312.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#8027A9
RGBrgb(128, 39, 169)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 77%, 66%)
CMYKcmyk(24.3%, 76.9%, 0%, 33.7%)
CIE-LABlab(35.80, 57.25, -51.95)
CIE-LCHlch(35.80, 77.31, 317.78°)
OKLaboklab(47.22% 0.134 -0.147)
OKLCHoklch(47.22% 0.199 312.3)
XYZxyz(16.7877, 8.9053, 38.3630)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A9 #50A927
analogous
#3F27A9 #8027A9 #A92791
triadic
#8027A9 #A98027 #27A980
tetradic
#8027A9 #A93F27 #50A927 #2791A9
square
#8027A9 #A93F27 #50A927 #2791A9
split-complementary
#8027A9 #91A927 #27A93F
monochromatic
#351046 #5A1C77 #8027A9 #A23BD2 #BA6DDD

Accessibility & contrast

On white

7.55
#8027A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8027A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027A9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027A9#FFFFFF#000000##FFFFFF
##8027A91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#7B4667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8027a9;
/* rgb */ color: rgb(128, 39, 169);
/* oklch */ color: oklch(47.2% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#a96bc3',
    500: '#8027a9',
    950: '#000000',
  },
}
SCSS
$custom: #8027a9;
$custom-light: #a96bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a9",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 281.077,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.19889,
    "h": 312.3
  },
  "luminance": 0.08905
}

Semantic roles & 50–950 ramp

primary
#8027A9
secondary
#85C468
accent
#E64276
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8027A9

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

Preview Lab → · Contrast checker → · Palette generator →

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