#A22A9E#A22A9E

#A22A9E is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.200 H 329.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A22A9E
RGBrgb(162, 42, 158)
HSLhsl(302, 59%, 40%)
HSVhsv(302, 74%, 64%)
CMYKcmyk(0%, 74.1%, 2.5%, 36.5%)
CIE-LABlab(40.91, 61.23, -36.85)
CIE-LCHlch(40.91, 71.47, 328.96°)
OKLaboklab(51.71% 0.1727 -0.1019)
OKLCHoklch(51.71% 0.2 329.5)
XYZxyz(21.8997, 11.8076, 33.4668)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22A9E #2AA22E
analogous
#6A2AA2 #A22A9E #A22A62
triadic
#A22A9E #9EA22A #2A9EA2
tetradic
#A22A9E #A26A2A #2AA22E #2A62A2
square
#A22A9E #A26A2A #2AA22E #2A62A2
split-complementary
#A22A9E #62A22A #2AA26A
monochromatic
#41113F #711D6F #A22A9E #CD3DC8 #D96DD6

Accessibility & contrast

On white

6.25
#A22A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A22A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22A9E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22A9E#FFFFFF#000000##FFFFFF
##A22A9E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A1
Deuteranopia (green-blind)
#4D669B
Tritanopia (blue-blind)
#A83B62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a22a9e;
/* rgb */ color: rgb(162, 42, 158);
/* oklch */ color: oklch(51.7% 0.200 329.5);
Tailwind
colors: {
  custom: {
    50: '#c170bb',
    500: '#a22a9e',
    950: '#000000',
  },
}
SCSS
$custom: #a22a9e;
$custom-light: #c170bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a22a9e",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 302,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51706,
    "c": 0.20048,
    "h": 329.5
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#A22A9E
secondary
#68C06B
accent
#E24B46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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