#8428A7#8428A7

#8428A7 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 314.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8428A7
RGBrgb(132, 40, 167)
HSLhsl(283, 61%, 41%)
HSVhsv(283, 76%, 65%)
CMYKcmyk(21%, 76%, 0%, 34.5%)
CIE-LABlab(36.39, 57.25, -49.76)
CIE-LCHlch(36.39, 75.85, 319.00°)
OKLaboklab(47.72% 0.1386 -0.1404)
OKLCHoklch(47.72% 0.197 314.6)
XYZxyz(17.2484, 9.2138, 37.4216)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428A7 #4BA728
analogous
#4528A7 #8428A7 #A7288A
triadic
#8428A7 #A78428 #28A784
tetradic
#8428A7 #A74528 #4BA728 #288AA7
square
#8428A7 #A74528 #4BA728 #288AA7
split-complementary
#8428A7 #8AA728 #28A745
monochromatic
#361044 #5D1C76 #8428A7 #A73CD0 #BE6DDC

Accessibility & contrast

On white

7.39
#8428A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8428A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428A7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428A7#FFFFFF#000000##FFFFFF
##8428A71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#2158A4
Tritanopia (blue-blind)
#814566
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8428a7;
/* rgb */ color: rgb(132, 40, 167);
/* oklch */ color: oklch(47.7% 0.197 314.6);
Tailwind
colors: {
  custom: {
    50: '#ac6cc2',
    500: '#8428a7',
    950: '#000000',
  },
}
SCSS
$custom: #8428a7;
$custom-light: #ac6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#8428a7",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 283.465,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.19733,
    "h": 314.6
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#8428A7
secondary
#81C368
accent
#E44370
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8428A7

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

Preview Lab → · Contrast checker → · Palette generator →

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