#A22EA2#A22EA2

#A22EA2 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.3% C 0.199 H 328.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A22EA2
RGBrgb(162, 46, 162)
HSLhsl(300, 56%, 41%)
HSVhsv(300, 72%, 64%)
CMYKcmyk(0%, 71.6%, 0%, 36.5%)
CIE-LABlab(41.60, 60.55, -38.15)
CIE-LCHlch(41.60, 71.56, 327.78°)
OKLaboklab(52.28% 0.1689 -0.1057)
OKLCHoklch(52.28% 0.199 328)
XYZxyz(22.3986, 12.2456, 35.3593)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22EA2 #2EA22E
analogous
#682EA2 #A22EA2 #A22E68
triadic
#A22EA2 #A2A22E #2EA2A2
tetradic
#A22EA2 #A2682E #2EA22E #2E68A2
square
#A22EA2 #A2682E #2EA22E #2E68A2
split-complementary
#A22EA2 #68A22E #2EA268
monochromatic
#431343 #722072 #A22EA2 #CA43CA #D773D7

Accessibility & contrast

On white

6.09
#A22EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A22EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22EA2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22EA2#FFFFFF#000000##FFFFFF
##A22EA21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a22ea2;
/* rgb */ color: rgb(162, 46, 162);
/* oklch */ color: oklch(52.3% 0.199 328.0);
Tailwind
colors: {
  custom: {
    50: '#c172be',
    500: '#a22ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a22ea2;
$custom-light: #c172be;
$custom-dark: #000000;
JSON
{
  "hex": "#a22ea2",
  "rgb": {
    "r": 162,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.19922,
    "h": 328
  },
  "luminance": 0.12244
}

Semantic roles & 50–950 ramp

primary
#A22EA2
secondary
#6DBF6D
accent
#DF4949
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A22EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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