#8028A9#8028A9

#8028A9 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.198 H 312.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8028A9
RGBrgb(128, 40, 169)
HSLhsl(281, 62%, 41%)
HSVhsv(281, 76%, 66%)
CMYKcmyk(24.3%, 76.3%, 0%, 33.7%)
CIE-LABlab(35.93, 56.88, -51.74)
CIE-LCHlch(35.93, 76.89, 317.71°)
OKLaboklab(47.32% 0.1331 -0.1464)
OKLCHoklch(47.32% 0.198 312.3)
XYZxyz(16.8210, 8.9718, 38.3741)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028A9 #51A928
analogous
#3F28A9 #8028A9 #A92891
triadic
#8028A9 #A98028 #28A980
tetradic
#8028A9 #A93F28 #51A928 #2891A9
square
#8028A9 #A93F28 #51A928 #2891A9
split-complementary
#8028A9 #91A928 #28A93F
monochromatic
#351146 #5B1C78 #8028A9 #A23DD1 #BA6FDD

Accessibility & contrast

On white

7.52
#8028A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#8028A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028A9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028A9#FFFFFF#000000##FFFFFF
##8028A91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1456A6
Tritanopia (blue-blind)
#7B4667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8028a9;
/* rgb */ color: rgb(128, 40, 169);
/* oklch */ color: oklch(47.3% 0.198 312.3);
Tailwind
colors: {
  custom: {
    50: '#a96cc3',
    500: '#8028a9',
    950: '#000000',
  },
}
SCSS
$custom: #8028a9;
$custom-light: #a96cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8028a9",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 280.93,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47315,
    "c": 0.19783,
    "h": 312.3
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#8028A9
secondary
#86C469
accent
#E54376
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8028A9

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

Preview Lab → · Contrast checker → · Palette generator →

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