#8028A8#8028A8

#8028A8 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.197 H 312.6°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8028A8
RGBrgb(128, 40, 168)
HSLhsl(281, 62%, 41%)
HSVhsv(281, 76%, 66%)
CMYKcmyk(23.8%, 76.2%, 0%, 34.1%)
CIE-LABlab(35.86, 56.68, -51.26)
CIE-LCHlch(35.86, 76.41, 317.87°)
OKLaboklab(47.24% 0.1333 -0.145)
OKLCHoklch(47.24% 0.197 312.6)
XYZxyz(16.7275, 8.9344, 37.8815)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028A8 #50A828
analogous
#4028A8 #8028A8 #A82890
triadic
#8028A8 #A88028 #28A880
tetradic
#8028A8 #A84028 #50A828 #2890A8
square
#8028A8 #A84028 #50A828 #2890A8
split-complementary
#8028A8 #90A828 #28A840
monochromatic
#351045 #5A1C77 #8028A8 #A23DD1 #BA6EDC

Accessibility & contrast

On white

7.54
#8028A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8028A8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028A8#FFFFFF#000000##FFFFFF
##8028A81.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#1656A5
Tritanopia (blue-blind)
#7B4667
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8028a8;
/* rgb */ color: rgb(128, 40, 168);
/* oklch */ color: oklch(47.2% 0.197 312.6);
Tailwind
colors: {
  custom: {
    50: '#a96cc3',
    500: '#8028a8',
    950: '#000000',
  },
}
SCSS
$custom: #8028a8;
$custom-light: #a96cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8028a8",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 281.25,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.1969,
    "h": 312.6
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#8028A8
secondary
#85C369
accent
#E54376
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8028A8

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

Preview Lab → · Contrast checker → · Palette generator →

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