#A421AE#A421AE

#A421AE is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.3% C 0.222 H 324.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A421AE
RGBrgb(164, 33, 174)
HSLhsl(296, 68%, 41%)
HSVhsv(296, 81%, 68%)
CMYKcmyk(5.7%, 81%, 0%, 31.8%)
CIE-LABlab(41.28, 66.91, -45.81)
CIE-LCHlch(41.28, 81.09, 325.60°)
OKLaboklab(52.33% 0.1816 -0.1278)
OKLCHoklch(52.33% 0.222 324.8)
XYZxyz(23.4931, 12.0378, 41.1223)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421AE #2BAE21
analogous
#5E21AE #A421AE #AE2171
triadic
#A421AE #AEA421 #21AEA4
tetradic
#A421AE #AE5E21 #2BAE21 #2171AE
square
#A421AE #AE5E21 #2BAE21 #2171AE
split-complementary
#A421AE #71AE21 #21AE5E
monochromatic
#430D47 #74177B #A421AE #CD34D8 #D967E2

Accessibility & contrast

On white

6.16
#A421AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A421AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421AE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421AE#FFFFFF#000000##FFFFFF
##A421AE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#4167AB
Tritanopia (blue-blind)
#A83E69
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a421ae;
/* rgb */ color: rgb(164, 33, 174);
/* oklch */ color: oklch(52.3% 0.222 324.8);
Tailwind
colors: {
  custom: {
    50: '#c36ec7',
    500: '#a421ae',
    950: '#000000',
  },
}
SCSS
$custom: #a421ae;
$custom-light: #c36ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a421ae",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 174
  },
  "hsl": {
    "h": 295.745,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.22205,
    "h": 324.8
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

primary
#A421AE
secondary
#6AC863
accent
#EB3D49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A421AE

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

Preview Lab → · Contrast checker → · Palette generator →

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