#A221AA#A221AA

#A221AA is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.218 H 325.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A221AA
RGBrgb(162, 33, 170)
HSLhsl(296, 67%, 40%)
HSVhsv(296, 81%, 67%)
CMYKcmyk(4.7%, 80.6%, 0%, 33.3%)
CIE-LABlab(40.69, 65.85, -44.39)
CIE-LCHlch(40.69, 79.42, 326.02°)
OKLaboklab(51.78% 0.1797 -0.1237)
OKLCHoklch(51.78% 0.218 325.5)
XYZxyz(22.6993, 11.6729, 39.0799)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A221AA #29AA21
analogous
#5D21AA #A221AA #AA216E
triadic
#A221AA #AAA221 #21AAA2
tetradic
#A221AA #AA5D21 #29AA21 #216EAA
square
#A221AA #AA5D21 #29AA21 #216EAA
split-complementary
#A221AA #6EAA21 #21AA5D
monochromatic
#400D43 #711777 #A221AA #CD31D7 #DA64E1

Accessibility & contrast

On white

6.30
#A221AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A221AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A221AA
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A221AA#FFFFFF#000000##FFFFFF
##A221AA1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#A63C67
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a221aa;
/* rgb */ color: rgb(162, 33, 170);
/* oklch */ color: oklch(51.8% 0.218 325.5);
Tailwind
colors: {
  custom: {
    50: '#c26ec4',
    500: '#a221aa',
    950: '#000000',
  },
}
SCSS
$custom: #a221aa;
$custom-light: #c26ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a221aa",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 296.496,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.21819,
    "h": 325.5
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#A221AA
secondary
#67C661
accent
#EA3D48
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A221AA

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

Preview Lab → · Contrast checker → · Palette generator →

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