#8027A3#8027A3

#8027A3 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.193 H 314.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8027A3
RGBrgb(128, 39, 163)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 76%, 64%)
CMYKcmyk(21.5%, 76.1%, 0%, 36.1%)
CIE-LABlab(35.37, 56.01, -49.04)
CIE-LCHlch(35.37, 74.44, 318.80°)
OKLaboklab(46.78% 0.135 -0.1384)
OKLCHoklch(46.78% 0.193 314.3)
XYZxyz(16.2373, 8.6851, 35.4643)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027A3 #4AA327
analogous
#4227A3 #8027A3 #A32788
triadic
#8027A3 #A38027 #27A380
tetradic
#8027A3 #A34227 #4AA327 #2788A3
square
#8027A3 #A34227 #4AA327 #2788A3
split-complementary
#8027A3 #88A327 #27A342
monochromatic
#320F40 #591B72 #8027A3 #A538CF #BB69DB

Accessibility & contrast

On white

7.67
#8027A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##8027A3#FFFFFF#000000##FFFFFF
##8027A31.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#7D4364
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8027a3;
/* rgb */ color: rgb(128, 39, 163);
/* oklch */ color: oklch(46.8% 0.193 314.3);
Tailwind
colors: {
  custom: {
    50: '#a96bbf',
    500: '#8027a3',
    950: '#000000',
  },
}
SCSS
$custom: #8027a3;
$custom-light: #a96bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8027a3",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 283.065,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.19336,
    "h": 314.3
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#8027A3
secondary
#7FC164
accent
#E44371
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8027A3

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

Preview Lab → · Contrast checker → · Palette generator →

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