#A22AA2#A22AA2

#A22AA2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.204 H 328.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A22AA2
RGBrgb(162, 42, 162)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0%, 74.1%, 0%, 36.5%)
CIE-LABlab(41.13, 61.89, -38.90)
CIE-LCHlch(41.13, 73.10, 327.85°)
OKLaboklab(51.94% 0.1727 -0.1078)
OKLCHoklch(51.94% 0.204 328)
XYZxyz(22.2496, 11.9476, 35.3096)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22AA2 #2AA22A
analogous
#662AA2 #A22AA2 #A22A66
triadic
#A22AA2 #A2A22A #2AA2A2
tetradic
#A22AA2 #A2662A #2AA22A #2A66A2
square
#A22AA2 #A2662A #2AA22A #2A66A2
split-complementary
#A22AA2 #66A22A #2AA266
monochromatic
#411141 #711D71 #A22AA2 #CD3DCD #D96DD9

Accessibility & contrast

On white

6.20
#A22AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22AA2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22AA2#FFFFFF#000000##FFFFFF
##A22AA21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#A73D64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a22aa2;
/* rgb */ color: rgb(162, 42, 162);
/* oklch */ color: oklch(51.9% 0.204 328.0);
Tailwind
colors: {
  custom: {
    50: '#c171be',
    500: '#a22aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a22aa2;
$custom-light: #c171be;
$custom-dark: #000000;
JSON
{
  "hex": "#a22aa2",
  "rgb": {
    "r": 162,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51938,
    "c": 0.20357,
    "h": 328
  },
  "luminance": 0.11946
}

Semantic roles & 50–950 ramp

primary
#A22AA2
secondary
#68C068
accent
#E24646
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A22AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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