#A420A7#A420A7

#A420A7 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.218 H 327.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A420A7
RGBrgb(164, 32, 167)
HSLhsl(299, 68%, 39%)
HSVhsv(299, 81%, 65%)
CMYKcmyk(1.8%, 80.8%, 0%, 34.5%)
CIE-LABlab(40.76, 66.01, -42.46)
CIE-LCHlch(40.76, 78.49, 327.25°)
OKLaboklab(51.83% 0.1828 -0.118)
OKLCHoklch(51.83% 0.218 327.1)
XYZxyz(22.8010, 11.7172, 37.6125)
Luminance0.1172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A420A7 #23A720
analogous
#6120A7 #A420A7 #A72067
triadic
#A420A7 #A7A420 #20A7A4
tetradic
#A420A7 #A76120 #23A720 #2067A7
square
#A420A7 #A76120 #23A720 #2067A7
split-complementary
#A420A7 #67A720 #20A761
monochromatic
#3F0C40 #721674 #A420A7 #D32DD7 #DE61E1

Accessibility & contrast

On white

6.28
#A420A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A420A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A420A7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A420A7#FFFFFF#000000##FFFFFF
##A420A71.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#4666A4
Tritanopia (blue-blind)
#A93965
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a420a7;
/* rgb */ color: rgb(164, 32, 167);
/* oklch */ color: oklch(51.8% 0.218 327.1);
Tailwind
colors: {
  custom: {
    50: '#c36dc2',
    500: '#a420a7',
    950: '#000000',
  },
}
SCSS
$custom: #a420a7;
$custom-light: #c36dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a420a7",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 298.667,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.2176,
    "h": 327.1
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#A420A7
secondary
#60C55D
accent
#EB3D41
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A420A7

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

Preview Lab → · Contrast checker → · Palette generator →

#A420A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva