#8027AA#8027AA

#8027AA is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.200 H 312.0°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8027AA
RGBrgb(128, 39, 170)
HSLhsl(281, 63%, 41%)
HSVhsv(281, 77%, 67%)
CMYKcmyk(24.7%, 77.1%, 0%, 33.3%)
CIE-LABlab(35.87, 57.46, -52.43)
CIE-LCHlch(35.87, 77.79, 317.62°)
OKLaboklab(47.3% 0.1338 -0.1484)
OKLCHoklch(47.3% 0.2 312)
XYZxyz(16.8820, 8.9430, 38.8593)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027AA #51AA27
analogous
#3E27AA #8027AA #AA2792
triadic
#8027AA #AA8027 #27AA80
tetradic
#8027AA #AA3E27 #51AA27 #2792AA
square
#8027AA #AA3E27 #51AA27 #2792AA
split-complementary
#8027AA #92AA27 #27AA3E
monochromatic
#351046 #5B1C78 #8027AA #A23CD2 #BA6EDE

Accessibility & contrast

On white

7.53
#8027AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8027AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8027AA#FFFFFF#000000##FFFFFF
##8027AA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#1056A7
Tritanopia (blue-blind)
#7B4668
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8027aa;
/* rgb */ color: rgb(128, 39, 170);
/* oklch */ color: oklch(47.3% 0.200 312.0);
Tailwind
colors: {
  custom: {
    50: '#a96bc4',
    500: '#8027aa',
    950: '#000000',
  },
}
SCSS
$custom: #8027aa;
$custom-light: #a96bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8027aa",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 170
  },
  "hsl": {
    "h": 280.763,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.19981,
    "h": 312
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#8027AA
secondary
#86C469
accent
#E64277
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8027AA

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

Preview Lab → · Contrast checker → · Palette generator →

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