#A421A9#A421A9

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

Color values

HEX#A421A9
RGBrgb(164, 33, 169)
HSLhsl(298, 67%, 40%)
HSVhsv(298, 80%, 66%)
CMYKcmyk(3%, 80.5%, 0%, 33.7%)
CIE-LABlab(40.97, 66.08, -43.33)
CIE-LCHlch(40.97, 79.02, 326.75°)
OKLaboklab(52.02% 0.182 -0.1206)
OKLCHoklch(52.02% 0.218 326.5)
XYZxyz(23.0147, 11.8464, 38.6028)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421A9 #26A921
analogous
#6021A9 #A421A9 #A9216A
triadic
#A421A9 #A9A421 #21A9A4
tetradic
#A421A9 #A96021 #26A921 #216AA9
square
#A421A9 #A96021 #26A921 #216AA9
split-complementary
#A421A9 #6AA921 #21A960
monochromatic
#410D43 #721776 #A421A9 #D131D7 #DC64E1

Accessibility & contrast

On white

6.23
#A421A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A421A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421A9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421A9#FFFFFF#000000##FFFFFF
##A421A91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#4566A6
Tritanopia (blue-blind)
#A83B66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a421a9;
/* rgb */ color: rgb(164, 33, 169);
/* oklch */ color: oklch(52.0% 0.218 326.5);
Tailwind
colors: {
  custom: {
    50: '#c36ec3',
    500: '#a421a9',
    950: '#000000',
  },
}
SCSS
$custom: #a421a9;
$custom-light: #c36ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a421a9",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 297.794,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.21827,
    "h": 326.5
  },
  "luminance": 0.11845
}

Semantic roles & 50–950 ramp

primary
#A421A9
secondary
#64C660
accent
#EA3E44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A421A9

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

Preview Lab → · Contrast checker → · Palette generator →

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