#A9229E#A9229E

#A9229E is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.212 H 331.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A9229E
RGBrgb(169, 34, 158)
HSLhsl(305, 67%, 40%)
HSVhsv(305, 80%, 66%)
CMYKcmyk(0%, 79.9%, 6.5%, 33.7%)
CIE-LABlab(41.30, 65.09, -36.17)
CIE-LCHlch(41.30, 74.47, 330.94°)
OKLaboklab(52.21% 0.1867 -0.0996)
OKLCHoklch(52.21% 0.212 331.9)
XYZxyz(23.1058, 12.0497, 33.4500)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9229E #22A92D
analogous
#7122A9 #A9229E #A9225B
triadic
#A9229E #9EA922 #229EA9
tetradic
#A9229E #A97122 #22A92D #225BA9
square
#A9229E #A97122 #22A92D #225BA9
split-complementary
#A9229E #5BA922 #22A971
monochromatic
#430D3F #76186E #A9229E #D632C9 #E065D6

Accessibility & contrast

On white

6.16
#A9229E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A9229E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9229E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9229E#FFFFFF#000000##FFFFFF
##A9229E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1455A1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#B03460
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a9229e;
/* rgb */ color: rgb(169, 34, 158);
/* oklch */ color: oklch(52.2% 0.212 331.9);
Tailwind
colors: {
  custom: {
    50: '#c76ebb',
    500: '#a9229e',
    950: '#000000',
  },
}
SCSS
$custom: #a9229e;
$custom-light: #c76ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a9229e",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 304.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.21164,
    "h": 331.9
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#A9229E
secondary
#61C569
accent
#E94C3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A9229E

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

Preview Lab → · Contrast checker → · Palette generator →

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