#A021A4#A021A4

#A021A4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.213 H 326.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A021A4
RGBrgb(160, 33, 164)
HSLhsl(298, 66%, 39%)
HSVhsv(298, 80%, 64%)
CMYKcmyk(2.4%, 79.9%, 0%, 35.7%)
CIE-LABlab(39.99, 64.46, -41.95)
CIE-LCHlch(39.99, 76.91, 326.95°)
OKLaboklab(51.1% 0.178 -0.1167)
OKLCHoklch(51.1% 0.213 326.8)
XYZxyz(21.7415, 11.2432, 36.1398)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A021A4 #25A421
analogous
#5E21A4 #A021A4 #A42166
triadic
#A021A4 #A4A021 #21A4A0
tetradic
#A021A4 #A45E21 #25A421 #2166A4
square
#A021A4 #A45E21 #25A421 #2166A4
split-complementary
#A021A4 #66A421 #21A45E
monochromatic
#3D0C3E #6E1771 #A021A4 #D02DD5 #DB60DF

Accessibility & contrast

On white

6.46
#A021A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A021A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A021A4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A021A4#FFFFFF#000000##FFFFFF
##A021A41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#4464A1
Tritanopia (blue-blind)
#A53963
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a021a4;
/* rgb */ color: rgb(160, 33, 164);
/* oklch */ color: oklch(51.1% 0.213 326.8);
Tailwind
colors: {
  custom: {
    50: '#c06dbf',
    500: '#a021a4',
    950: '#000000',
  },
}
SCSS
$custom: #a021a4;
$custom-light: #c06dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a021a4",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 298.168,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51095,
    "c": 0.21278,
    "h": 326.8
  },
  "luminance": 0.11242
}

Semantic roles & 50–950 ramp

primary
#A021A4
secondary
#60C45D
accent
#E93E44
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A021A4

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

Preview Lab → · Contrast checker → · Palette generator →

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