#A222A5#A222A5

#A222A5 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.214 H 327.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A222A5
RGBrgb(162, 34, 165)
HSLhsl(299, 66%, 39%)
HSVhsv(299, 79%, 65%)
CMYKcmyk(1.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(40.48, 64.76, -41.74)
CIE-LCHlch(40.48, 77.04, 327.20°)
OKLaboklab(51.53% 0.1793 -0.116)
OKLCHoklch(51.53% 0.214 327.1)
XYZxyz(22.2635, 11.5437, 36.6456)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A222A5 #25A522
analogous
#6122A5 #A222A5 #A52267
triadic
#A222A5 #A5A222 #22A5A2
tetradic
#A222A5 #A56122 #25A522 #2267A5
square
#A222A5 #A56122 #25A522 #2267A5
split-complementary
#A222A5 #67A522 #22A561
monochromatic
#3E0D40 #701872 #A222A5 #D130D4 #DC63DF

Accessibility & contrast

On white

6.35
#A222A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A222A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A222A5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A222A5#FFFFFF#000000##FFFFFF
##A222A51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A73A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a222a5;
/* rgb */ color: rgb(162, 34, 165);
/* oklch */ color: oklch(51.5% 0.214 327.1);
Tailwind
colors: {
  custom: {
    50: '#c26ec0',
    500: '#a222a5',
    950: '#000000',
  },
}
SCSS
$custom: #a222a5;
$custom-light: #c26ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a222a5",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 298.626,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5153,
    "c": 0.21355,
    "h": 327.1
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#A222A5
secondary
#61C45F
accent
#E93F43
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A222A5

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

Preview Lab → · Contrast checker → · Palette generator →

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