#8028A3#8028A3

#8028A3 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.192 H 314.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#8028A3
RGBrgb(128, 40, 163)
HSLhsl(283, 61%, 40%)
HSVhsv(283, 75%, 64%)
CMYKcmyk(21.5%, 75.5%, 0%, 36.1%)
CIE-LABlab(35.50, 55.63, -48.83)
CIE-LCHlch(35.50, 74.02, 318.73°)
OKLaboklab(46.88% 0.1341 -0.1378)
OKLCHoklch(46.88% 0.192 314.2)
XYZxyz(16.2706, 8.7517, 35.4754)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028A3 #4BA328
analogous
#4328A3 #8028A3 #A32888
triadic
#8028A3 #A38028 #28A380
tetradic
#8028A3 #A34328 #4BA328 #2888A3
square
#8028A3 #A34328 #4BA328 #2888A3
split-complementary
#8028A3 #88A328 #28A343
monochromatic
#331041 #591C72 #8028A3 #A43ACF #BB6BDB

Accessibility & contrast

On white

7.64
#8028A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8028A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028A3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028A3#FFFFFF#000000##FFFFFF
##8028A31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8028a3;
/* rgb */ color: rgb(128, 40, 163);
/* oklch */ color: oklch(46.9% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#a96bbf',
    500: '#8028a3',
    950: '#000000',
  },
}
SCSS
$custom: #8028a3;
$custom-light: #a96bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#8028a3",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 282.927,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46876,
    "c": 0.19227,
    "h": 314.2
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#8028A3
secondary
#80C166
accent
#E44472
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8028A3

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

Preview Lab → · Contrast checker → · Palette generator →

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