#A022A5#A022A5

#A022A5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.213 H 326.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A022A5
RGBrgb(160, 34, 165)
HSLhsl(298, 66%, 39%)
HSVhsv(298, 79%, 65%)
CMYKcmyk(3%, 79.4%, 0%, 35.3%)
CIE-LABlab(40.14, 64.36, -42.30)
CIE-LCHlch(40.14, 77.02, 326.69°)
OKLaboklab(51.22% 0.1771 -0.1177)
OKLCHoklch(51.22% 0.213 326.4)
XYZxyz(21.8604, 11.3358, 36.6267)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A022A5 #27A522
analogous
#5F22A5 #A022A5 #A52269
triadic
#A022A5 #A5A022 #22A5A0
tetradic
#A022A5 #A55F22 #27A522 #2269A5
square
#A022A5 #A55F22 #27A522 #2269A5
split-complementary
#A022A5 #69A522 #22A55F
monochromatic
#3E0D40 #6F1872 #A022A5 #CE30D4 #DA63DF

Accessibility & contrast

On white

6.43
#A022A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A022A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A022A5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A022A5#FFFFFF#000000##FFFFFF
##A022A51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#A43A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a022a5;
/* rgb */ color: rgb(160, 34, 165);
/* oklch */ color: oklch(51.2% 0.213 326.4);
Tailwind
colors: {
  custom: {
    50: '#c06dc0',
    500: '#a022a5',
    950: '#000000',
  },
}
SCSS
$custom: #a022a5;
$custom-light: #c06dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#a022a5",
  "rgb": {
    "r": 160,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 297.71,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51223,
    "c": 0.21268,
    "h": 326.4
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#A022A5
secondary
#63C45F
accent
#E93F46
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A022A5

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

Preview Lab → · Contrast checker → · Palette generator →

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