#8420AF#8420AF

#8420AF is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.7% C 0.212 H 312.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8420AF
RGBrgb(132, 32, 175)
HSLhsl(282, 69%, 41%)
HSVhsv(282, 82%, 69%)
CMYKcmyk(24.6%, 81.7%, 0%, 31.4%)
CIE-LABlab(36.05, 61.54, -55.10)
CIE-LCHlch(36.05, 82.60, 318.16°)
OKLaboklab(47.66% 0.1437 -0.1561)
OKLCHoklch(47.66% 0.212 312.6)
XYZxyz(17.7687, 9.0342, 41.3569)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8420AF #4BAF20
analogous
#3C20AF #8420AF #AF2092
triadic
#8420AF #AF8420 #20AF84
tetradic
#8420AF #AF3C20 #4BAF20 #2092AF
square
#8420AF #AF3C20 #4BAF20 #2092AF
split-complementary
#8420AF #92AF20 #20AF3C
monochromatic
#360D48 #5D177B #8420AF #A733DA #BE66E3

Accessibility & contrast

On white

7.48
#8420AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8420AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8420AF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8420AF#FFFFFF#000000##FFFFFF
##8420AF1.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)
#0050B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#7F4469
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8420af;
/* rgb */ color: rgb(132, 32, 175);
/* oklch */ color: oklch(47.7% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#ad69c8',
    500: '#8420af',
    950: '#000000',
  },
}
SCSS
$custom: #8420af;
$custom-light: #ad69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8420af",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 281.958,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47662,
    "c": 0.21214,
    "h": 312.6
  },
  "luminance": 0.09034
}

Semantic roles & 50–950 ramp

primary
#8420AF
secondary
#81C862
accent
#EC3C71
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110713
muted
#807A82

Preview Lab

Preview with #8420AF

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

Preview Lab → · Contrast checker → · Palette generator →

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