#8428AC#8428AC

#8428AC is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 313.0°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8428AC
RGBrgb(132, 40, 172)
HSLhsl(282, 62%, 42%)
HSVhsv(282, 77%, 67%)
CMYKcmyk(23.3%, 76.7%, 0%, 32.5%)
CIE-LABlab(36.75, 58.27, -52.18)
CIE-LCHlch(36.75, 78.22, 318.16°)
OKLaboklab(48.08% 0.1378 -0.1475)
OKLCHoklch(48.08% 0.202 313)
XYZxyz(17.7196, 9.4022, 39.9031)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428AC #50AC28
analogous
#4228AC #8428AC #AC2892
triadic
#8428AC #AC8428 #28AC84
tetradic
#8428AC #AC4228 #50AC28 #2892AC
square
#8428AC #AC4228 #50AC28 #2892AC
split-complementary
#8428AC #92AC28 #28AC42
monochromatic
#381149 #5E1C7A #8428AC #A63FD2 #BD71DE

Accessibility & contrast

On white

7.29
#8428AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8428AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428AC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428AC#FFFFFF#000000##FFFFFF
##8428AC1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#1858A9
Tritanopia (blue-blind)
#804769
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8428ac;
/* rgb */ color: rgb(132, 40, 172);
/* oklch */ color: oklch(48.1% 0.202 313.0);
Tailwind
colors: {
  custom: {
    50: '#ac6cc5',
    500: '#8428ac',
    950: '#000000',
  },
}
SCSS
$custom: #8428ac;
$custom-light: #ac6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#8428ac",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 281.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48082,
    "c": 0.20189,
    "h": 313
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#8428AC
secondary
#86C56B
accent
#E54274
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8428AC

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

Preview Lab → · Contrast checker → · Palette generator →

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