#8420B4#8420B4

#8420B4 is a mid, highly saturated purple. Relative luminance 0.092; OKLCH L 48.0% C 0.216 H 311.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8420B4
RGBrgb(132, 32, 180)
HSLhsl(281, 70%, 42%)
HSVhsv(281, 82%, 71%)
CMYKcmyk(26.7%, 82.2%, 0%, 29.4%)
CIE-LABlab(36.43, 62.56, -57.45)
CIE-LCHlch(36.43, 84.94, 317.43°)
OKLaboklab(48.05% 0.1425 -0.163)
OKLCHoklch(48.05% 0.217 311.2)
XYZxyz(18.2689, 9.2343, 43.9912)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8420B4 #50B420
analogous
#3A20B4 #8420B4 #B4209A
triadic
#8420B4 #B48420 #20B484
tetradic
#8420B4 #B43A20 #50B420 #209AB4
square
#8420B4 #B43A20 #50B420 #209AB4
split-complementary
#8420B4 #9AB420 #20B43A
monochromatic
#380E4C #5E1780 #8420B4 #A636DB #BD6AE4

Accessibility & contrast

On white

7.38
#8420B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8420B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8420B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8420B4#FFFFFF#000000##FFFFFF
##8420B41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#7E476C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8420b4;
/* rgb */ color: rgb(132, 32, 180);
/* oklch */ color: oklch(48.0% 0.216 311.2);
Tailwind
colors: {
  custom: {
    50: '#ad69cb',
    500: '#8420b4',
    950: '#000000',
  },
}
SCSS
$custom: #8420b4;
$custom-light: #ad69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8420b4",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 280.541,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.2165,
    "h": 311.2
  },
  "luminance": 0.09234
}

Semantic roles & 50–950 ramp

primary
#8420B4
secondary
#86CA66
accent
#ED3B75
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110713
muted
#807A82

Preview Lab

Preview with #8420B4

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

Preview Lab → · Contrast checker → · Palette generator →

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