#A2229B#A2229B

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

Color values

HEX#A2229B
RGBrgb(162, 34, 155)
HSLhsl(303, 65%, 38%)
HSVhsv(303, 79%, 64%)
CMYKcmyk(0%, 79%, 4.3%, 36.5%)
CIE-LABlab(39.90, 63.16, -36.64)
CIE-LCHlch(39.90, 73.01, 329.88°)
OKLaboklab(50.93% 0.1796 -0.1012)
OKLCHoklch(50.93% 0.206 330.6)
XYZxyz(21.3887, 11.1937, 32.0381)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2229B #22A229
analogous
#6922A2 #A2229B #A2225B
triadic
#A2229B #9BA222 #229BA2
tetradic
#A2229B #A26922 #22A229 #225BA2
square
#A2229B #A26922 #22A229 #225BA2
split-complementary
#A2229B #5BA222 #22A269
monochromatic
#3D0D3A #6F176B #A2229B #D32ECA #DE61D7

Accessibility & contrast

On white

6.48
#A2229B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A2229B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2229B
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2229B#FFFFFF#000000##FFFFFF
##A2229B1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F539E
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#A8345E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2229b;
/* rgb */ color: rgb(162, 34, 155);
/* oklch */ color: oklch(50.9% 0.206 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16db9',
    500: '#a2229b',
    950: '#000000',
  },
}
SCSS
$custom: #a2229b;
$custom-light: #c16db9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2229b",
  "rgb": {
    "r": 162,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 303.281,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50935,
    "c": 0.20611,
    "h": 330.6
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2229B

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

Preview Lab → · Contrast checker → · Palette generator →

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