#A22A9A#A22A9A

#A22A9A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 330.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A22A9A
RGBrgb(162, 42, 154)
HSLhsl(304, 59%, 40%)
HSVhsv(304, 74%, 64%)
CMYKcmyk(0%, 74.1%, 4.9%, 36.5%)
CIE-LABlab(40.69, 60.59, -34.79)
CIE-LCHlch(40.69, 69.86, 330.13°)
OKLaboklab(51.48% 0.1726 -0.0959)
OKLCHoklch(51.48% 0.197 330.9)
XYZxyz(21.5610, 11.6721, 31.6829)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A9A #2AA232
analogous
#6E2AA2 #A22A9A #A22A5E
triadic
#A22A9A #9AA22A #2A9AA2
tetradic
#A22A9A #A26E2A #2AA232 #2A5EA2
square
#A22A9A #A26E2A #2AA232 #2A5EA2
split-complementary
#A22A9A #5EA22A #2AA26E
monochromatic
#41113E #711D6C #A22A9A #CD3DC3 #D96DD2

Accessibility & contrast

On white

6.30
#A22A9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A22A9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A9A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A9A#FFFFFF#000000##FFFFFF
##A22A9A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#A83960
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22a9a;
/* rgb */ color: rgb(162, 42, 154);
/* oklch */ color: oklch(51.5% 0.197 330.9);
Tailwind
colors: {
  custom: {
    50: '#c170b8',
    500: '#a22a9a',
    950: '#000000',
  },
}
SCSS
$custom: #a22a9a;
$custom-light: #c170b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a9a",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 304,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.19744,
    "h": 330.9
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#A22A9A
secondary
#68C06E
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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