#A2229C#A2229C

#A2229C is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.207 H 330.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A2229C
RGBrgb(162, 34, 156)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 79%, 64%)
CMYKcmyk(0%, 79%, 3.7%, 36.5%)
CIE-LABlab(39.96, 63.31, -37.15)
CIE-LCHlch(39.96, 73.41, 329.60°)
OKLaboklab(50.99% 0.1796 -0.1027)
OKLCHoklch(50.99% 0.207 330.2)
XYZxyz(21.4730, 11.2275, 32.4822)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2229C #22A228
analogous
#6822A2 #A2229C #A2225C
triadic
#A2229C #9CA222 #229CA2
tetradic
#A2229C #A26822 #22A228 #225CA2
square
#A2229C #A26822 #22A228 #225CA2
split-complementary
#A2229C #5CA222 #22A268
monochromatic
#3D0D3B #6F176B #A2229C #D32ECB #DE61D8

Accessibility & contrast

On white

6.47
#A2229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A2229C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2229C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2229C#FFFFFF#000000##FFFFFF
##A2229C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#A8355F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2229c;
/* rgb */ color: rgb(162, 34, 156);
/* oklch */ color: oklch(51.0% 0.207 330.2);
Tailwind
colors: {
  custom: {
    50: '#c16dba',
    500: '#a2229c',
    950: '#000000',
  },
}
SCSS
$custom: #a2229c;
$custom-light: #c16dba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2229c",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 302.813,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.20685,
    "h": 330.2
  },
  "luminance": 0.11226
}

Semantic roles & 50–950 ramp

primary
#A2229C
secondary
#5DC362
accent
#E84740
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2229C

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

Preview Lab → · Contrast checker → · Palette generator →

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