#A421A1#A421A1

#A421A1 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.212 H 329.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A421A1
RGBrgb(164, 33, 161)
HSLhsl(301, 66%, 39%)
HSVhsv(301, 80%, 64%)
CMYKcmyk(0%, 79.9%, 1.8%, 35.7%)
CIE-LABlab(40.50, 64.79, -39.29)
CIE-LCHlch(40.50, 75.77, 328.77°)
OKLaboklab(51.53% 0.1823 -0.1088)
OKLCHoklch(51.53% 0.212 329.2)
XYZxyz(22.2866, 11.5552, 34.7679)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421A1 #21A424
analogous
#6521A4 #A421A1 #A4215F
triadic
#A421A1 #A1A421 #21A1A4
tetradic
#A421A1 #A46521 #21A424 #215FA4
square
#A421A1 #A46521 #21A424 #215FA4
split-complementary
#A421A1 #5FA421 #21A465
monochromatic
#3E0C3D #71176F #A421A1 #D52DD1 #DF60DC

Accessibility & contrast

On white

6.34
#A421A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A421A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421A1
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421A1#FFFFFF#000000##FFFFFF
##A421A11.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A4
Deuteranopia (green-blind)
#4A659E
Tritanopia (blue-blind)
#AA3761
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a421a1;
/* rgb */ color: rgb(164, 33, 161);
/* oklch */ color: oklch(51.5% 0.212 329.2);
Tailwind
colors: {
  custom: {
    50: '#c36ebd',
    500: '#a421a1',
    950: '#000000',
  },
}
SCSS
$custom: #a421a1;
$custom-light: #c36ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#a421a1",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 161
  },
  "hsl": {
    "h": 301.374,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51534,
    "c": 0.21233,
    "h": 329.2
  },
  "luminance": 0.11553
}

Semantic roles & 50–950 ramp

primary
#A421A1
secondary
#5DC45F
accent
#E9423E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A421A1

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

Preview Lab → · Contrast checker → · Palette generator →

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