#8024A1#8024A1

#8024A1 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.195 H 315.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8024A1
RGBrgb(128, 36, 161)
HSLhsl(284, 63%, 39%)
HSVhsv(284, 78%, 63%)
CMYKcmyk(20.5%, 77.6%, 0%, 36.9%)
CIE-LABlab(34.85, 56.68, -48.67)
CIE-LCHlch(34.85, 74.71, 319.35°)
OKLaboklab(46.37% 0.138 -0.1373)
OKLCHoklch(46.37% 0.195 315.1)
XYZxyz(15.9649, 8.4248, 34.4965)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8024A1 #45A124
analogous
#4124A1 #8024A1 #A12483
triadic
#8024A1 #A18024 #24A180
tetradic
#8024A1 #A14124 #45A124 #2483A1
square
#8024A1 #A14124 #45A124 #2483A1
split-complementary
#8024A1 #83A124 #24A141
monochromatic
#300E3D #58196F #8024A1 #A731D1 #BC63DC

Accessibility & contrast

On white

7.82
#8024A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8024A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8024A1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8024A1#FFFFFF#000000##FFFFFF
##8024A11.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#1E549E
Tritanopia (blue-blind)
#7D4162
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8024a1;
/* rgb */ color: rgb(128, 36, 161);
/* oklch */ color: oklch(46.4% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#a96abe',
    500: '#8024a1',
    950: '#000000',
  },
}
SCSS
$custom: #8024a1;
$custom-light: #a96abe;
$custom-dark: #000000;
JSON
{
  "hex": "#8024a1",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 284.16,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46373,
    "c": 0.1947,
    "h": 315.1
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#8024A1
secondary
#79C25F
accent
#E6416D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8024A1

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

Preview Lab → · Contrast checker → · Palette generator →

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