#8420C1#8420C1

#8420C1 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.1% C 0.228 H 307.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8420C1
RGBrgb(132, 32, 193)
HSLhsl(277, 72%, 44%)
HSVhsv(277, 83%, 76%)
CMYKcmyk(31.6%, 83.4%, 0%, 24.3%)
CIE-LABlab(37.46, 65.24, -63.45)
CIE-LCHlch(37.46, 91.01, 315.80°)
OKLaboklab(49.08% 0.139 -0.1806)
OKLCHoklch(49.08% 0.228 307.6)
XYZxyz(19.6558, 9.7891, 51.2957)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8420C1 #5DC120
analogous
#3320C1 #8420C1 #C120AE
triadic
#8420C1 #C18420 #20C184
tetradic
#8420C1 #C13320 #5DC120 #20AEC1
square
#8420C1 #C13320 #5DC120 #20AEC1
split-complementary
#8420C1 #AEC120 #20C133
monochromatic
#3C0F58 #60178D #8420C1 #A23FDF #BC74E8

Accessibility & contrast

On white

7.10
#8420C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8420C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8420C1
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8420C1#FFFFFF#000000##FFFFFF
##8420C11.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#7A4D74
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8420c1;
/* rgb */ color: rgb(132, 32, 193);
/* oklch */ color: oklch(49.1% 0.228 307.6);
Tailwind
colors: {
  custom: {
    50: '#ae6ad5',
    500: '#8420c1',
    950: '#000000',
  },
}
SCSS
$custom: #8420c1;
$custom-light: #ae6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#8420c1",
  "rgb": {
    "r": 132,
    "g": 32,
    "b": 193
  },
  "hsl": {
    "h": 277.267,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49084,
    "c": 0.22791,
    "h": 307.6
  },
  "luminance": 0.09789
}

Semantic roles & 50–950 ramp

primary
#8420C1
secondary
#93CF6E
accent
#EE3A7E
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110714
muted
#807A83

Preview Lab

Preview with #8420C1

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

Preview Lab → · Contrast checker → · Palette generator →

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