#8428AB#8428AB

#8428AB is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 313.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8428AB
RGBrgb(132, 40, 171)
HSLhsl(282, 62%, 41%)
HSVhsv(282, 77%, 67%)
CMYKcmyk(22.8%, 76.6%, 0%, 32.9%)
CIE-LABlab(36.68, 58.07, -51.70)
CIE-LCHlch(36.68, 77.75, 318.32°)
OKLaboklab(48.01% 0.138 -0.1461)
OKLCHoklch(48.01% 0.201 313.4)
XYZxyz(17.6239, 9.3640, 39.3992)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428AB #4FAB28
analogous
#4328AB #8428AB #AB2891
triadic
#8428AB #AB8428 #28AB84
tetradic
#8428AB #AB4328 #4FAB28 #2891AB
square
#8428AB #AB4328 #4FAB28 #2891AB
split-complementary
#8428AB #91AB28 #28AB43
monochromatic
#371148 #5E1C79 #8428AB #A63ED2 #BD70DE

Accessibility & contrast

On white

7.31
#8428AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8428AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428AB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428AB#FFFFFF#000000##FFFFFF
##8428AB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#1A58A8
Tritanopia (blue-blind)
#804668
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8428ab;
/* rgb */ color: rgb(132, 40, 171);
/* oklch */ color: oklch(48.0% 0.201 313.4);
Tailwind
colors: {
  custom: {
    50: '#ac6cc5',
    500: '#8428ab',
    950: '#000000',
  },
}
SCSS
$custom: #8428ab;
$custom-light: #ac6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8428ab",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 282.137,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.20098,
    "h": 313.4
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#8428AB
secondary
#85C46A
accent
#E54373
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8428AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8428AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva