#A220A7#A220A7

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

Color values

HEX#A220A7
RGBrgb(162, 32, 167)
HSLhsl(298, 68%, 39%)
HSVhsv(298, 81%, 65%)
CMYKcmyk(3%, 80.8%, 0%, 34.5%)
CIE-LABlab(40.42, 65.62, -43.03)
CIE-LCHlch(40.42, 78.47, 326.74°)
OKLaboklab(51.53% 0.1807 -0.1198)
OKLCHoklch(51.53% 0.217 326.5)
XYZxyz(22.3914, 11.5060, 37.5933)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A220A7 #25A720
analogous
#5F20A7 #A220A7 #A72069
triadic
#A220A7 #A7A220 #20A7A2
tetradic
#A220A7 #A75F20 #25A720 #2069A7
square
#A220A7 #A75F20 #25A720 #2069A7
split-complementary
#A220A7 #69A720 #20A75F
monochromatic
#3E0C40 #701674 #A220A7 #D12DD7 #DC61E1

Accessibility & contrast

On white

6.36
#A220A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A220A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A220A7
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A220A7#FFFFFF#000000##FFFFFF
##A220A71.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#4465A4
Tritanopia (blue-blind)
#A63A65
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a220a7;
/* rgb */ color: rgb(162, 32, 167);
/* oklch */ color: oklch(51.5% 0.217 326.5);
Tailwind
colors: {
  custom: {
    50: '#c26dc2',
    500: '#a220a7',
    950: '#000000',
  },
}
SCSS
$custom: #a220a7;
$custom-light: #c26dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a220a7",
  "rgb": {
    "r": 162,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 297.778,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51525,
    "c": 0.21674,
    "h": 326.5
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#A220A7
secondary
#61C55D
accent
#EB3D44
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A220A7

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

Preview Lab → · Contrast checker → · Palette generator →

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