#8024A8#8024A8

#8024A8 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 46.9% C 0.201 H 312.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8024A8
RGBrgb(128, 36, 168)
HSLhsl(282, 65%, 40%)
HSVhsv(282, 79%, 66%)
CMYKcmyk(23.8%, 78.6%, 0%, 34.1%)
CIE-LABlab(35.36, 58.11, -52.06)
CIE-LCHlch(35.36, 78.02, 318.14°)
OKLaboklab(46.89% 0.1368 -0.1473)
OKLCHoklch(46.89% 0.201 312.9)
XYZxyz(16.5996, 8.6786, 37.8389)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024A8 #4CA824
analogous
#3E24A8 #8024A8 #A8248E
triadic
#8024A8 #A88024 #24A880
tetradic
#8024A8 #A83E24 #4CA824 #248EA8
square
#8024A8 #A83E24 #4CA824 #248EA8
split-complementary
#8024A8 #8EA824 #24A83E
monochromatic
#330E43 #5A1976 #8024A8 #A435D4 #BB68DF

Accessibility & contrast

On white

7.68
#8024A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8024A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8024A8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024A8#FFFFFF#000000##FFFFFF
##8024A81.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#1055A5
Tritanopia (blue-blind)
#7B4466
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8024a8;
/* rgb */ color: rgb(128, 36, 168);
/* oklch */ color: oklch(46.9% 0.201 312.9);
Tailwind
colors: {
  custom: {
    50: '#a96ac3',
    500: '#8024a8',
    950: '#000000',
  },
}
SCSS
$custom: #8024a8;
$custom-light: #a96ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#8024a8",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 281.818,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.46889,
    "c": 0.20101,
    "h": 312.9
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#8024A8
secondary
#81C463
accent
#E84073
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8024A8

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

Preview Lab → · Contrast checker → · Palette generator →

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