#A021A9#A021A9

#A021A9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.217 H 325.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A021A9
RGBrgb(160, 33, 169)
HSLhsl(296, 67%, 40%)
HSVhsv(296, 80%, 66%)
CMYKcmyk(5.3%, 80.5%, 0%, 33.7%)
CIE-LABlab(40.29, 65.30, -44.45)
CIE-LCHlch(40.29, 78.99, 325.75°)
OKLaboklab(51.41% 0.1776 -0.124)
OKLCHoklch(51.41% 0.217 325.1)
XYZxyz(22.2020, 11.4274, 38.5647)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A021A9 #2AA921
analogous
#5C21A9 #A021A9 #A9216E
triadic
#A021A9 #A9A021 #21A9A0
tetradic
#A021A9 #A95C21 #2AA921 #216EA9
square
#A021A9 #A95C21 #2AA921 #216EA9
split-complementary
#A021A9 #6EA921 #21A95C
monochromatic
#3F0D43 #701776 #A021A9 #CC31D7 #D864E1

Accessibility & contrast

On white

6.39
#A021A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A021A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A021A9
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A021A9#FFFFFF#000000##FFFFFF
##A021A91.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#4064A6
Tritanopia (blue-blind)
#A43C66
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a021a9;
/* rgb */ color: rgb(160, 33, 169);
/* oklch */ color: oklch(51.4% 0.217 325.1);
Tailwind
colors: {
  custom: {
    50: '#c06dc3',
    500: '#a021a9',
    950: '#000000',
  },
}
SCSS
$custom: #a021a9;
$custom-light: #c06dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a021a9",
  "rgb": {
    "r": 160,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 296.029,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51408,
    "c": 0.21659,
    "h": 325.1
  },
  "luminance": 0.11426
}

Semantic roles & 50–950 ramp

primary
#A021A9
secondary
#67C660
accent
#EA3E49
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A021A9

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

Preview Lab → · Contrast checker → · Palette generator →

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