#8420A7#8420A7

#8420A7 is a mid, highly saturated purple. Relative luminance 0.087; OKLCH L 47.1% C 0.205 H 315.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#8420A7
RGBrgb(132, 32, 167)
HSLhsl(284, 68%, 39%)
HSVhsv(284, 81%, 65%)
CMYKcmyk(21%, 80.8%, 0%, 34.5%)
CIE-LABlab(35.46, 59.95, -51.27)
CIE-LCHlch(35.46, 78.88, 319.46°)
OKLaboklab(47.06% 0.1454 -0.1448)
OKLCHoklch(47.06% 0.205 315.1)
XYZxyz(17.0061, 8.7292, 37.3408)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8420A7 #43A720
analogous
#4020A7 #8420A7 #A72087
triadic
#8420A7 #A78420 #20A784
tetradic
#8420A7 #A74020 #43A720 #2087A7
square
#8420A7 #A74020 #43A720 #2087A7
split-complementary
#8420A7 #87A720 #20A740
monochromatic
#330C40 #5B1674 #8420A7 #AB2DD7 #C061E1

Accessibility & contrast

On white

7.65
#8420A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8420A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8420A7
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8420A7#FFFFFF#000000##FFFFFF
##8420A71.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#1856A4
Tritanopia (blue-blind)
#814164
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8420a7;
/* rgb */ color: rgb(132, 32, 167);
/* oklch */ color: oklch(47.1% 0.205 315.1);
Tailwind
colors: {
  custom: {
    50: '#ac69c2',
    500: '#8420a7',
    950: '#000000',
  },
}
SCSS
$custom: #8420a7;
$custom-light: #ac69c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8420a7",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 284.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.2052,
    "h": 315.1
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#8420A7
secondary
#78C55D
accent
#EB3D6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110712
muted
#807A81

Preview Lab

Preview with #8420A7

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

Preview Lab → · Contrast checker → · Palette generator →

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