#A421C9#A421C9

#A421C9 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.2% C 0.243 H 317.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#A421C9
RGBrgb(164, 33, 201)
HSLhsl(287, 72%, 46%)
HSVhsv(287, 84%, 79%)
CMYKcmyk(18.4%, 83.6%, 0%, 21.2%)
CIE-LABlab(43.06, 71.64, -58.80)
CIE-LCHlch(43.06, 92.68, 320.62°)
OKLaboklab(54.15% 0.1776 -0.1659)
OKLCHoklch(54.15% 0.243 317)
XYZxyz(26.3947, 13.1984, 56.4042)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A421C9 #46C921
analogous
#5021C9 #A421C9 #C9219A
triadic
#A421C9 #C9A421 #21C9A4
tetradic
#A421C9 #C95021 #46C921 #219AC9
square
#A421C9 #C95021 #46C921 #219AC9
split-complementary
#A421C9 #9AC921 #21C950
monochromatic
#4E1060 #791894 #A421C9 #BF46E1 #D17BE9

Accessibility & contrast

On white

5.77
#A421C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A421C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A421C9
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A421C9#FFFFFF#000000##FFFFFF
##A421C91.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#2269C6
Tritanopia (blue-blind)
#A24B79
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a421c9;
/* rgb */ color: rgb(164, 33, 201);
/* oklch */ color: oklch(54.2% 0.243 317.0);
Tailwind
colors: {
  custom: {
    50: '#c46fda',
    500: '#a421c9',
    950: '#000000',
  },
}
SCSS
$custom: #a421c9;
$custom-light: #c46fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a421c9",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 201
  },
  "hsl": {
    "h": 286.786,
    "s": 71.795,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54154,
    "c": 0.24303,
    "h": 317
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#A421C9
secondary
#89D175
accent
#EF3961
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A421C9

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

Preview Lab → · Contrast checker → · Palette generator →

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