#8027A2#8027A2

#8027A2 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.192 H 314.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#8027A2
RGBrgb(128, 39, 162)
HSLhsl(283, 61%, 39%)
HSVhsv(283, 76%, 64%)
CMYKcmyk(21%, 75.9%, 0%, 36.5%)
CIE-LABlab(35.30, 55.80, -48.55)
CIE-LCHlch(35.30, 73.97, 318.98°)
OKLaboklab(46.71% 0.1351 -0.137)
OKLCHoklch(46.71% 0.192 314.6)
XYZxyz(16.1481, 8.6494, 34.9943)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A2 #49A227
analogous
#4327A2 #8027A2 #A22787
triadic
#8027A2 #A28027 #27A280
tetradic
#8027A2 #A24327 #49A227 #2787A2
square
#8027A2 #A24327 #49A227 #2787A2
split-complementary
#8027A2 #87A227 #27A243
monochromatic
#320F3F #591B71 #8027A2 #A537CF #BB69DB

Accessibility & contrast

On white

7.69
#8027A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8027A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8027A2#FFFFFF#000000##FFFFFF
##8027A21.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#20559F
Tritanopia (blue-blind)
#7D4263
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8027a2;
/* rgb */ color: rgb(128, 39, 162);
/* oklch */ color: oklch(46.7% 0.192 314.6);
Tailwind
colors: {
  custom: {
    50: '#a96bbe',
    500: '#8027a2',
    950: '#000000',
  },
}
SCSS
$custom: #8027a2;
$custom-light: #a96bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a2",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 283.415,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.19244,
    "h": 314.6
  },
  "luminance": 0.08649
}

Semantic roles & 50–950 ramp

primary
#8027A2
secondary
#7EC164
accent
#E44370
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A2

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

Preview Lab → · Contrast checker → · Palette generator →

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