#8027A4#8027A4

#8027A4 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.194 H 313.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8027A4
RGBrgb(128, 39, 164)
HSLhsl(283, 62%, 40%)
HSVhsv(283, 76%, 64%)
CMYKcmyk(22%, 76.2%, 0%, 35.7%)
CIE-LABlab(35.44, 56.22, -49.52)
CIE-LCHlch(35.44, 74.92, 318.62°)
OKLaboklab(46.86% 0.1348 -0.1399)
OKLCHoklch(46.86% 0.194 313.9)
XYZxyz(16.3273, 8.7211, 35.9380)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A4 #4BA427
analogous
#4227A4 #8027A4 #A4278A
triadic
#8027A4 #A48027 #27A480
tetradic
#8027A4 #A44227 #4BA427 #278AA4
square
#8027A4 #A44227 #4BA427 #278AA4
split-complementary
#8027A4 #8AA427 #27A442
monochromatic
#330F41 #591B73 #8027A4 #A438D0 #BB6ADC

Accessibility & contrast

On white

7.65
#8027A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8027A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8027A4#FFFFFF#000000##FFFFFF
##8027A41.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1D55A1
Tritanopia (blue-blind)
#7C4364
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8027a4;
/* rgb */ color: rgb(128, 39, 164);
/* oklch */ color: oklch(46.9% 0.194 313.9);
Tailwind
colors: {
  custom: {
    50: '#a96bc0',
    500: '#8027a4',
    950: '#000000',
  },
}
SCSS
$custom: #8027a4;
$custom-light: #a96bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a4",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 282.72,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46856,
    "c": 0.19427,
    "h": 313.9
  },
  "luminance": 0.08721
}

Semantic roles & 50–950 ramp

primary
#8027A4
secondary
#80C265
accent
#E54372
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A4

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

Preview Lab → · Contrast checker → · Palette generator →

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