#8428A2#8428A2

#8428A2 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.193 H 316.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8428A2
RGBrgb(132, 40, 162)
HSLhsl(285, 60%, 40%)
HSVhsv(285, 75%, 64%)
CMYKcmyk(18.5%, 75.3%, 0%, 36.5%)
CIE-LABlab(36.05, 56.24, -47.31)
CIE-LCHlch(36.05, 73.49, 319.93°)
OKLaboklab(47.37% 0.1393 -0.1332)
OKLCHoklch(47.37% 0.193 316.3)
XYZxyz(16.7951, 9.0324, 35.0342)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8428A2 #46A228
analogous
#4728A2 #8428A2 #A22883
triadic
#8428A2 #A28428 #28A284
tetradic
#8428A2 #A24728 #46A228 #2883A2
square
#8428A2 #A24728 #46A228 #2883A2
split-complementary
#8428A2 #83A228 #28A247
monochromatic
#341040 #5C1C71 #8428A2 #A939CE #BF6ADA

Accessibility & contrast

On white

7.48
#8428A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8428A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8428A2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8428A2#FFFFFF#000000##FFFFFF
##8428A21.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#27579F
Tritanopia (blue-blind)
#824263
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8428a2;
/* rgb */ color: rgb(132, 40, 162);
/* oklch */ color: oklch(47.4% 0.193 316.3);
Tailwind
colors: {
  custom: {
    50: '#ac6cbe',
    500: '#8428a2',
    950: '#000000',
  },
}
SCSS
$custom: #8428a2;
$custom-light: #ac6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8428a2",
  "rgb": {
    "r": 132,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 285.246,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47365,
    "c": 0.19279,
    "h": 316.3
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#8428A2
secondary
#7CC165
accent
#E4446B
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8428A2

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

Preview Lab → · Contrast checker → · Palette generator →

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