#A22DA2#A22DA2

#A22DA2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 328.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A22DA2
RGBrgb(162, 45, 162)
HSLhsl(300, 57%, 41%)
HSVhsv(300, 72%, 64%)
CMYKcmyk(0%, 72.2%, 0%, 36.5%)
CIE-LABlab(41.48, 60.89, -38.35)
CIE-LCHlch(41.48, 71.96, 327.80°)
OKLaboklab(52.19% 0.1699 -0.1062)
OKLCHoklch(52.19% 0.2 328)
XYZxyz(22.3600, 12.1684, 35.3465)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22DA2 #2DA22D
analogous
#672DA2 #A22DA2 #A22D67
triadic
#A22DA2 #A2A22D #2DA2A2
tetradic
#A22DA2 #A2672D #2DA22D #2D67A2
square
#A22DA2 #A2672D #2DA22D #2D67A2
split-complementary
#A22DA2 #67A22D #2DA267
monochromatic
#421242 #722072 #A22DA2 #CA42CA #D872D8

Accessibility & contrast

On white

6.12
#A22DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A22DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22DA2
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22DA2#FFFFFF#000000##FFFFFF
##A22DA21.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1758A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22da2;
/* rgb */ color: rgb(162, 45, 162);
/* oklch */ color: oklch(52.2% 0.200 328.0);
Tailwind
colors: {
  custom: {
    50: '#c172be',
    500: '#a22da2',
    950: '#000000',
  },
}
SCSS
$custom: #a22da2;
$custom-light: #c172be;
$custom-dark: #000000;
JSON
{
  "hex": "#a22da2",
  "rgb": {
    "r": 162,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.20033,
    "h": 328
  },
  "luminance": 0.12167
}

Semantic roles & 50–950 ramp

primary
#A22DA2
secondary
#6CBF6C
accent
#E04848
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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