#8028AC#8028AC

#8028AC is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.5% C 0.201 H 311.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8028AC
RGBrgb(128, 40, 172)
HSLhsl(280, 62%, 42%)
HSVhsv(280, 77%, 67%)
CMYKcmyk(25.6%, 76.7%, 0%, 32.5%)
CIE-LABlab(36.15, 57.52, -53.18)
CIE-LCHlch(36.15, 78.33, 317.24°)
OKLaboklab(47.54% 0.1325 -0.1506)
OKLCHoklch(47.54% 0.201 311.3)
XYZxyz(17.1059, 9.0858, 39.8743)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028AC #54AC28
analogous
#3E28AC #8028AC #AC2896
triadic
#8028AC #AC8028 #28AC80
tetradic
#8028AC #AC3E28 #54AC28 #2896AC
square
#8028AC #AC3E28 #54AC28 #2896AC
split-complementary
#8028AC #96AC28 #28AC3E
monochromatic
#361149 #5B1C7A #8028AC #A13FD2 #B971DE

Accessibility & contrast

On white

7.45
#8028AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8028AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028AC
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028AC#FFFFFF#000000##FFFFFF
##8028AC1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0B57A9
Tritanopia (blue-blind)
#7A4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8028ac;
/* rgb */ color: rgb(128, 40, 172);
/* oklch */ color: oklch(47.5% 0.201 311.3);
Tailwind
colors: {
  custom: {
    50: '#a96cc6',
    500: '#8028ac',
    950: '#000000',
  },
}
SCSS
$custom: #8028ac;
$custom-light: #a96cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8028ac",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 280,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.20062,
    "h": 311.3
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#8028AC
secondary
#89C56B
accent
#E54279
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8028AC

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

Preview Lab → · Contrast checker → · Palette generator →

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