#A221A6#A221A6

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

Color values

HEX#A221A6
RGBrgb(162, 33, 166)
HSLhsl(298, 67%, 39%)
HSVhsv(298, 80%, 65%)
CMYKcmyk(2.4%, 80.1%, 0%, 34.9%)
CIE-LABlab(40.45, 65.19, -42.39)
CIE-LCHlch(40.45, 77.76, 326.97°)
OKLaboklab(51.53% 0.18 -0.1179)
OKLCHoklch(51.53% 0.215 326.8)
XYZxyz(22.3267, 11.5239, 37.1174)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A221A6 #25A621
analogous
#5F21A6 #A221A6 #A62168
triadic
#A221A6 #A6A221 #21A6A2
tetradic
#A221A6 #A65F21 #25A621 #2168A6
square
#A221A6 #A65F21 #25A621 #2168A6
split-complementary
#A221A6 #68A621 #21A65F
monochromatic
#3E0D40 #701773 #A221A6 #D12FD6 #DC62E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A221A6#FFFFFF#000000##FFFFFF
##A221A61.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)
#0055A9
Deuteranopia (green-blind)
#4565A3
Tritanopia (blue-blind)
#A73A64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a221a6;
/* rgb */ color: rgb(162, 33, 166);
/* oklch */ color: oklch(51.5% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#c26dc1',
    500: '#a221a6',
    950: '#000000',
  },
}
SCSS
$custom: #a221a6;
$custom-light: #c26dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a221a6",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 166
  },
  "hsl": {
    "h": 298.195,
    "s": 66.834,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.21516,
    "h": 326.8
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#A221A6
secondary
#61C55E
accent
#EA3E43
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A221A6

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

Preview Lab → · Contrast checker → · Palette generator →

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