#A421AA#A421AA

#A421AA is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.219 H 326.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A421AA
RGBrgb(164, 33, 170)
HSLhsl(297, 67%, 40%)
HSVhsv(297, 81%, 67%)
CMYKcmyk(3.5%, 80.6%, 0%, 33.3%)
CIE-LABlab(41.03, 66.24, -43.83)
CIE-LCHlch(41.03, 79.43, 326.51°)
OKLaboklab(52.08% 0.1819 -0.122)
OKLCHoklch(52.08% 0.219 326.1)
XYZxyz(23.1089, 11.8841, 39.0991)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421AA #27AA21
analogous
#5F21AA #A421AA #AA216C
triadic
#A421AA #AAA421 #21AAA4
tetradic
#A421AA #AA5F21 #27AA21 #216CAA
square
#A421AA #AA5F21 #27AA21 #216CAA
split-complementary
#A421AA #6CAA21 #21AA5F
monochromatic
#410D43 #731777 #A421AA #D031D7 #DC64E1

Accessibility & contrast

On white

6.22
#A421AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A421AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421AA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421AA#FFFFFF#000000##FFFFFF
##A421AA1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#4466A7
Tritanopia (blue-blind)
#A83B67
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a421aa;
/* rgb */ color: rgb(164, 33, 170);
/* oklch */ color: oklch(52.1% 0.219 326.1);
Tailwind
colors: {
  custom: {
    50: '#c36ec4',
    500: '#a421aa',
    950: '#000000',
  },
}
SCSS
$custom: #a421aa;
$custom-light: #c36ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a421aa",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 297.372,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.21902,
    "h": 326.1
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#A421AA
secondary
#65C661
accent
#EA3D45
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A421AA

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

Preview Lab → · Contrast checker → · Palette generator →

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