#8027A5#8027A5

#8027A5 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.195 H 313.6°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8027A5
RGBrgb(128, 39, 165)
HSLhsl(282, 62%, 40%)
HSVhsv(282, 76%, 65%)
CMYKcmyk(22.4%, 76.4%, 0%, 35.3%)
CIE-LABlab(35.51, 56.42, -50.01)
CIE-LCHlch(35.51, 75.40, 318.45°)
OKLaboklab(46.93% 0.1347 -0.1413)
OKLCHoklch(46.93% 0.195 313.6)
XYZxyz(16.4180, 8.7574, 36.4155)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A5 #4CA527
analogous
#4127A5 #8027A5 #A5278B
triadic
#8027A5 #A58027 #27A580
tetradic
#8027A5 #A54127 #4CA527 #278BA5
square
#8027A5 #A54127 #4CA527 #278BA5
split-complementary
#8027A5 #8BA527 #27A541
monochromatic
#331042 #5A1B74 #8027A5 #A439D0 #BB6ADC

Accessibility & contrast

On white

7.63
#8027A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8027A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8027A5#FFFFFF#000000##FFFFFF
##8027A51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#1B55A2
Tritanopia (blue-blind)
#7C4465
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8027a5;
/* rgb */ color: rgb(128, 39, 165);
/* oklch */ color: oklch(46.9% 0.195 313.6);
Tailwind
colors: {
  custom: {
    50: '#a96bc0',
    500: '#8027a5',
    950: '#000000',
  },
}
SCSS
$custom: #8027a5;
$custom-light: #a96bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a5",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 165
  },
  "hsl": {
    "h": 282.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.46929,
    "c": 0.1952,
    "h": 313.6
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#8027A5
secondary
#81C266
accent
#E54372
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A5

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

Preview Lab → · Contrast checker → · Palette generator →

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