#A2229A#A2229A

#A2229A is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.205 H 331.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A2229A
RGBrgb(162, 34, 154)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 79%, 64%)
CMYKcmyk(0%, 79%, 4.9%, 36.5%)
CIE-LABlab(39.85, 63.00, -36.12)
CIE-LCHlch(39.85, 72.62, 330.17°)
OKLaboklab(50.88% 0.1796 -0.0997)
OKLCHoklch(50.88% 0.205 331)
XYZxyz(21.3050, 11.1603, 31.5976)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2229A #22A22A
analogous
#6A22A2 #A2229A #A2225A
triadic
#A2229A #9AA222 #229AA2
tetradic
#A2229A #A26A22 #22A22A #225AA2
square
#A2229A #A26A22 #22A22A #225AA2
split-complementary
#A2229A #5AA222 #22A26A
monochromatic
#3D0D3A #6F176A #A2229A #D32EC9 #DE61D6

Accessibility & contrast

On white

6.50
#A2229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A2229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2229A
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2229A#FFFFFF#000000##FFFFFF
##A2229A1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#A9345E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2229a;
/* rgb */ color: rgb(162, 34, 154);
/* oklch */ color: oklch(50.9% 0.205 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16db8',
    500: '#a2229a',
    950: '#000000',
  },
}
SCSS
$custom: #a2229a;
$custom-light: #c16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2229a",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 303.75,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50877,
    "c": 0.20538,
    "h": 331
  },
  "luminance": 0.11159
}

Semantic roles & 50–950 ramp

primary
#A2229A
secondary
#5DC363
accent
#E84A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2229A

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

Preview Lab → · Contrast checker → · Palette generator →

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