#8428A4#8428A4

#8428A4 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.195 H 315.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#8428A4
RGBrgb(132, 40, 164)
HSLhsl(285, 61%, 40%)
HSVhsv(285, 76%, 64%)
CMYKcmyk(19.5%, 75.6%, 0%, 35.7%)
CIE-LABlab(36.18, 56.64, -48.30)
CIE-LCHlch(36.18, 74.44, 319.55°)
OKLaboklab(47.51% 0.1391 -0.1361)
OKLCHoklch(47.51% 0.195 315.6)
XYZxyz(16.9743, 9.1041, 35.9779)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428A4 #48A428
analogous
#4628A4 #8428A4 #A42886
triadic
#8428A4 #A48428 #28A484
tetradic
#8428A4 #A44628 #48A428 #2886A4
square
#8428A4 #A44628 #48A428 #2886A4
split-complementary
#8428A4 #86A428 #28A446
monochromatic
#351042 #5C1C73 #8428A4 #A93ACF #BE6BDB

Accessibility & contrast

On white

7.45
#8428A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8428A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428A4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428A4#FFFFFF#000000##FFFFFF
##8428A41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2558A1
Tritanopia (blue-blind)
#824364
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8428a4;
/* rgb */ color: rgb(132, 40, 164);
/* oklch */ color: oklch(47.5% 0.195 315.6);
Tailwind
colors: {
  custom: {
    50: '#ac6cc0',
    500: '#8428a4',
    950: '#000000',
  },
}
SCSS
$custom: #8428a4;
$custom-light: #ac6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8428a4",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 284.516,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47506,
    "c": 0.19461,
    "h": 315.6
  },
  "luminance": 0.09103
}

Semantic roles & 50–950 ramp

primary
#8428A4
secondary
#7EC166
accent
#E4446D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8428A4

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

Preview Lab → · Contrast checker → · Palette generator →

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