#A022A9#A022A9

#A022A9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.216 H 325.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A022A9
RGBrgb(160, 34, 169)
HSLhsl(296, 67%, 40%)
HSVhsv(296, 80%, 66%)
CMYKcmyk(5.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(40.38, 65.03, -44.30)
CIE-LCHlch(40.38, 78.69, 325.73°)
OKLaboklab(51.47% 0.1769 -0.1235)
OKLCHoklch(51.47% 0.216 325.1)
XYZxyz(22.2301, 11.4837, 38.5741)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A9 #2BA922
analogous
#5D22A9 #A022A9 #A9226F
triadic
#A022A9 #A9A022 #22A9A0
tetradic
#A022A9 #A95D22 #2BA922 #226FA9
square
#A022A9 #A95D22 #2BA922 #226FA9
split-complementary
#A022A9 #6FA922 #22A95D
monochromatic
#400D43 #701876 #A022A9 #CB32D6 #D865E0

Accessibility & contrast

On white

6.37
#A022A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A022A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A022A9
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A9#FFFFFF#000000##FFFFFF
##A022A91.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a022a9;
/* rgb */ color: rgb(160, 34, 169);
/* oklch */ color: oklch(51.5% 0.216 325.1);
Tailwind
colors: {
  custom: {
    50: '#c06ec3',
    500: '#a022a9',
    950: '#000000',
  },
}
SCSS
$custom: #a022a9;
$custom-light: #c06ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a9",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 296,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.21574,
    "h": 325.1
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#A022A9
secondary
#68C561
accent
#E93E4A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A9

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

Preview Lab → · Contrast checker → · Palette generator →

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