#A9229A#A9229A

#A9229A is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.209 H 333.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A9229A
RGBrgb(169, 34, 154)
HSLhsl(307, 67%, 40%)
HSVhsv(307, 80%, 66%)
CMYKcmyk(0%, 79.9%, 8.9%, 33.7%)
CIE-LABlab(41.08, 64.49, -34.10)
CIE-LCHlch(41.08, 72.95, 332.14°)
OKLaboklab(51.99% 0.1866 -0.0937)
OKLCHoklch(51.99% 0.209 333.4)
XYZxyz(22.7671, 11.9142, 31.6662)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9229A #22A931
analogous
#7522A9 #A9229A #A92256
triadic
#A9229A #9AA922 #229AA9
tetradic
#A9229A #A97522 #22A931 #2256A9
square
#A9229A #A97522 #22A931 #2256A9
split-complementary
#A9229A #56A922 #22A975
monochromatic
#430D3D #76186C #A9229A #D632C4 #E065D2

Accessibility & contrast

On white

6.21
#A9229A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A9229A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9229A
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9229A#FFFFFF#000000##FFFFFF
##A9229A1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#B1325E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a9229a;
/* rgb */ color: rgb(169, 34, 154);
/* oklch */ color: oklch(52.0% 0.209 333.4);
Tailwind
colors: {
  custom: {
    50: '#c76eb8',
    500: '#a9229a',
    950: '#000000',
  },
}
SCSS
$custom: #a9229a;
$custom-light: #c76eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a9229a",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 154
  },
  "hsl": {
    "h": 306.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.20882,
    "h": 333.4
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#A9229A
secondary
#61C56C
accent
#E9513E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #A9229A

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

Preview Lab → · Contrast checker → · Palette generator →

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