#8028A5#8028A5

#8028A5 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.194 H 313.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#8028A5
RGBrgb(128, 40, 165)
HSLhsl(282, 61%, 40%)
HSVhsv(282, 76%, 65%)
CMYKcmyk(22.4%, 75.8%, 0%, 35.3%)
CIE-LABlab(35.64, 56.05, -49.80)
CIE-LCHlch(35.64, 74.98, 318.38°)
OKLaboklab(47.02% 0.1338 -0.1407)
OKLCHoklch(47.02% 0.194 313.6)
XYZxyz(16.4512, 8.8239, 36.4266)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8028A5 #4DA528
analogous
#4128A5 #8028A5 #A5288B
triadic
#8028A5 #A58028 #28A580
tetradic
#8028A5 #A54128 #4DA528 #288BA5
square
#8028A5 #A54128 #4DA528 #288BA5
split-complementary
#8028A5 #8BA528 #28A541
monochromatic
#341042 #5A1C74 #8028A5 #A33BCF #BA6CDB

Accessibility & contrast

On white

7.60
#8028A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8028A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8028A5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8028A5#FFFFFF#000000##FFFFFF
##8028A51.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#1C56A2
Tritanopia (blue-blind)
#7C4465
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8028a5;
/* rgb */ color: rgb(128, 40, 165);
/* oklch */ color: oklch(47.0% 0.194 313.6);
Tailwind
colors: {
  custom: {
    50: '#a96bc0',
    500: '#8028a5',
    950: '#000000',
  },
}
SCSS
$custom: #8028a5;
$custom-light: #a96bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8028a5",
  "rgb": {
    "r": 128,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 282.24,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47021,
    "c": 0.19412,
    "h": 313.6
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#8028A5
secondary
#82C267
accent
#E44473
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8028A5

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

Preview Lab → · Contrast checker → · Palette generator →

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