#A22EA1#A22EA1

#A22EA1 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 328.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A22EA1
RGBrgb(162, 46, 161)
HSLhsl(301, 56%, 41%)
HSVhsv(301, 72%, 64%)
CMYKcmyk(0%, 71.6%, 0.6%, 36.5%)
CIE-LABlab(41.55, 60.38, -37.64)
CIE-LCHlch(41.55, 71.15, 328.06°)
OKLaboklab(52.22% 0.1689 -0.1042)
OKLCHoklch(52.22% 0.198 328.3)
XYZxyz(22.3101, 12.2102, 34.8930)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA1 #2EA22F
analogous
#692EA2 #A22EA1 #A22E67
triadic
#A22EA1 #A1A22E #2EA1A2
tetradic
#A22EA1 #A2692E #2EA22F #2E67A2
square
#A22EA1 #A2692E #2EA22F #2E67A2
split-complementary
#A22EA1 #67A22E #2EA269
monochromatic
#431342 #722072 #A22EA1 #CA43C9 #D773D6

Accessibility & contrast

On white

6.10
#A22EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A22EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA1#FFFFFF#000000##FFFFFF
##A22EA11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#4D679E
Tritanopia (blue-blind)
#A73F65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a22ea1;
/* rgb */ color: rgb(162, 46, 161);
/* oklch */ color: oklch(52.2% 0.198 328.3);
Tailwind
colors: {
  custom: {
    50: '#c172bd',
    500: '#a22ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea1;
$custom-light: #c172bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea1",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 300.517,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52218,
    "c": 0.19843,
    "h": 328.3
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#A22EA1
secondary
#6DBF6E
accent
#DF4A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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