#A420A8#A420A8

#A420A8 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.218 H 326.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A420A8
RGBrgb(164, 32, 168)
HSLhsl(298, 68%, 39%)
HSVhsv(298, 81%, 66%)
CMYKcmyk(2.4%, 81%, 0%, 34.1%)
CIE-LABlab(40.82, 66.17, -42.97)
CIE-LCHlch(40.82, 78.90, 327.00°)
OKLaboklab(51.9% 0.1827 -0.1195)
OKLCHoklch(51.9% 0.218 326.8)
XYZxyz(22.8938, 11.7543, 38.1012)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A420A8 #24A820
analogous
#6020A8 #A420A8 #A82068
triadic
#A420A8 #A8A420 #20A8A4
tetradic
#A420A8 #A86020 #24A820 #2068A8
square
#A420A8 #A86020 #24A820 #2068A8
split-complementary
#A420A8 #68A820 #20A860
monochromatic
#400C41 #721675 #A420A8 #D22ED7 #DD61E1

Accessibility & contrast

On white

6.27
#A420A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A420A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A420A8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A420A8#FFFFFF#000000##FFFFFF
##A420A81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#4566A5
Tritanopia (blue-blind)
#A93A65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a420a8;
/* rgb */ color: rgb(164, 32, 168);
/* oklch */ color: oklch(51.9% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#c36ec2',
    500: '#a420a8',
    950: '#000000',
  },
}
SCSS
$custom: #a420a8;
$custom-light: #c36ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a420a8",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 298.235,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51895,
    "c": 0.21834,
    "h": 326.8
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#A420A8
secondary
#61C65E
accent
#EB3D42
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A420A8

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

Preview Lab → · Contrast checker → · Palette generator →

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