#A220A8#A220A8

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

Color values

HEX#A220A8
RGBrgb(162, 32, 168)
HSLhsl(297, 68%, 39%)
HSVhsv(297, 81%, 66%)
CMYKcmyk(3.6%, 81%, 0%, 34.1%)
CIE-LABlab(40.48, 65.78, -43.53)
CIE-LCHlch(40.48, 78.88, 326.50°)
OKLaboklab(51.59% 0.1806 -0.1212)
OKLCHoklch(51.59% 0.217 326.1)
XYZxyz(22.4842, 11.5431, 38.0820)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A220A8 #26A820
analogous
#5E20A8 #A220A8 #A8206A
triadic
#A220A8 #A8A220 #20A8A2
tetradic
#A220A8 #A85E20 #26A820 #206AA8
square
#A220A8 #A85E20 #26A820 #206AA8
split-complementary
#A220A8 #6AA820 #20A85E
monochromatic
#3F0C41 #701675 #A220A8 #D02ED7 #DB61E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A220A8#FFFFFF#000000##FFFFFF
##A220A81.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)
#0055AB
Deuteranopia (green-blind)
#4365A5
Tritanopia (blue-blind)
#A63A65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a220a8;
/* rgb */ color: rgb(162, 32, 168);
/* oklch */ color: oklch(51.6% 0.217 326.1);
Tailwind
colors: {
  custom: {
    50: '#c26dc2',
    500: '#a220a8',
    950: '#000000',
  },
}
SCSS
$custom: #a220a8;
$custom-light: #c26dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a220a8",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 297.353,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51588,
    "c": 0.21749,
    "h": 326.1
  },
  "luminance": 0.11542
}

Semantic roles & 50–950 ramp

primary
#A220A8
secondary
#63C65E
accent
#EB3D45
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A220A8

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

Preview Lab → · Contrast checker → · Palette generator →

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