#A22D9A#A22D9A

#A22D9A is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.194 H 330.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A22D9A
RGBrgb(162, 45, 154)
HSLhsl(304, 57%, 41%)
HSVhsv(304, 72%, 64%)
CMYKcmyk(0%, 72.2%, 4.9%, 36.5%)
CIE-LABlab(41.05, 59.57, -34.23)
CIE-LCHlch(41.05, 68.71, 330.12°)
OKLaboklab(51.73% 0.1697 -0.0943)
OKLCHoklch(51.73% 0.194 330.9)
XYZxyz(21.6714, 11.8929, 31.7198)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22D9A #2DA235
analogous
#702DA2 #A22D9A #A22D5F
triadic
#A22D9A #9AA22D #2D9AA2
tetradic
#A22D9A #A2702D #2DA235 #2D5FA2
square
#A22D9A #A2702D #2DA235 #2D5FA2
split-complementary
#A22D9A #5FA22D #2DA270
monochromatic
#42123F #72206C #A22D9A #CA42C1 #D872D1

Accessibility & contrast

On white

6.22
#A22D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A22D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22D9A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22D9A#FFFFFF#000000##FFFFFF
##A22D9A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569D
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#A83B60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22d9a;
/* rgb */ color: rgb(162, 45, 154);
/* oklch */ color: oklch(51.7% 0.194 330.9);
Tailwind
colors: {
  custom: {
    50: '#c172b8',
    500: '#a22d9a',
    950: '#000000',
  },
}
SCSS
$custom: #a22d9a;
$custom-light: #c172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22d9a",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 304.103,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51734,
    "c": 0.19411,
    "h": 330.9
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#A22D9A
secondary
#6CBF71
accent
#E05248
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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