#A22E9A#A22E9A

#A22E9A is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.8% C 0.193 H 330.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A22E9A
RGBrgb(162, 46, 154)
HSLhsl(304, 56%, 41%)
HSVhsv(304, 72%, 64%)
CMYKcmyk(0%, 71.6%, 4.9%, 36.5%)
CIE-LABlab(41.17, 59.22, -34.03)
CIE-LCHlch(41.17, 68.31, 330.12°)
OKLaboklab(51.82% 0.1687 -0.0937)
OKLCHoklch(51.82% 0.193 330.9)
XYZxyz(21.7100, 11.9702, 31.7326)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22E9A #2EA236
analogous
#702EA2 #A22E9A #A22E60
triadic
#A22E9A #9AA22E #2E9AA2
tetradic
#A22E9A #A2702E #2EA236 #2E60A2
square
#A22E9A #A2702E #2EA236 #2E60A2
split-complementary
#A22E9A #60A22E #2EA270
monochromatic
#43133F #72206D #A22E9A #CA43C0 #D773D0

Accessibility & contrast

On white

6.19
#A22E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A22E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22E9A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22E9A#FFFFFF#000000##FFFFFF
##A22E9A1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#A83C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22e9a;
/* rgb */ color: rgb(162, 46, 154);
/* oklch */ color: oklch(51.8% 0.193 330.9);
Tailwind
colors: {
  custom: {
    50: '#c172b8',
    500: '#a22e9a',
    950: '#000000',
  },
}
SCSS
$custom: #a22e9a;
$custom-light: #c172b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a22e9a",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 304.138,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51822,
    "c": 0.19296,
    "h": 330.9
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#A22E9A
secondary
#6DBF73
accent
#DF5349
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A22E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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