#A421A8#A421A8

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

Color values

HEX#A421A8
RGBrgb(164, 33, 168)
HSLhsl(298, 67%, 39%)
HSVhsv(298, 80%, 66%)
CMYKcmyk(2.4%, 80.4%, 0%, 34.1%)
CIE-LABlab(40.91, 65.92, -42.83)
CIE-LCHlch(40.91, 78.61, 326.99°)
OKLaboklab(51.96% 0.182 -0.1191)
OKLCHoklch(51.96% 0.218 326.8)
XYZxyz(22.9212, 11.8090, 38.1103)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421A8 #25A821
analogous
#6121A8 #A421A8 #A82169
triadic
#A421A8 #A8A421 #21A8A4
tetradic
#A421A8 #A86121 #25A821 #2169A8
square
#A421A8 #A86121 #25A821 #2169A8
split-complementary
#A421A8 #69A821 #21A861
monochromatic
#400D42 #721775 #A421A8 #D130D6 #DD63E0

Accessibility & contrast

On white

6.25
#A421A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A421A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421A8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421A8#FFFFFF#000000##FFFFFF
##A421A81.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.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: #a421a8;
/* rgb */ color: rgb(164, 33, 168);
/* oklch */ color: oklch(52.0% 0.218 326.8);
Tailwind
colors: {
  custom: {
    50: '#c36ec2',
    500: '#a421a8',
    950: '#000000',
  },
}
SCSS
$custom: #a421a8;
$custom-light: #c36ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#a421a8",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 298.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51958,
    "c": 0.21753,
    "h": 326.8
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#A421A8
secondary
#62C55F
accent
#EA3E43
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A421A8

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

Preview Lab → · Contrast checker → · Palette generator →

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