#8027A7#8027A7

#8027A7 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 313.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#8027A7
RGBrgb(128, 39, 167)
HSLhsl(282, 62%, 40%)
HSVhsv(282, 77%, 65%)
CMYKcmyk(23.4%, 76.6%, 0%, 34.5%)
CIE-LABlab(35.66, 56.84, -50.98)
CIE-LCHlch(35.66, 76.35, 318.11°)
OKLaboklab(47.08% 0.1343 -0.1441)
OKLCHoklch(47.08% 0.197 313)
XYZxyz(16.6014, 8.8308, 37.3817)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A7 #4EA727
analogous
#4027A7 #8027A7 #A7278E
triadic
#8027A7 #A78027 #27A780
tetradic
#8027A7 #A74027 #4EA727 #278EA7
square
#8027A7 #A74027 #4EA727 #278EA7
split-complementary
#8027A7 #8EA727 #27A740
monochromatic
#341044 #5A1B75 #8027A7 #A33AD1 #BA6CDD

Accessibility & contrast

On white

7.59
#8027A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8027A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8027A7#FFFFFF#000000##FFFFFF
##8027A71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#1756A4
Tritanopia (blue-blind)
#7C4566
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8027a7;
/* rgb */ color: rgb(128, 39, 167);
/* oklch */ color: oklch(47.1% 0.197 313.0);
Tailwind
colors: {
  custom: {
    50: '#a96bc2',
    500: '#8027a7',
    950: '#000000',
  },
}
SCSS
$custom: #8027a7;
$custom-light: #a96bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a7",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 167
  },
  "hsl": {
    "h": 281.719,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.19704,
    "h": 313
  },
  "luminance": 0.0883
}

Semantic roles & 50–950 ramp

primary
#8027A7
secondary
#83C367
accent
#E54374
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A7

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

Preview Lab → · Contrast checker → · Palette generator →

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