#A9229D#A9229D

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

Color values

HEX#A9229D
RGBrgb(169, 34, 157)
HSLhsl(305, 67%, 40%)
HSVhsv(305, 80%, 66%)
CMYKcmyk(0%, 79.9%, 7.1%, 33.7%)
CIE-LABlab(41.24, 64.94, -35.65)
CIE-LCHlch(41.24, 74.08, 331.24°)
OKLaboklab(52.15% 0.1867 -0.0981)
OKLCHoklch(52.15% 0.211 332.3)
XYZxyz(23.0201, 12.0154, 32.9985)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9229D #22A92E
analogous
#7122A9 #A9229D #A9225A
triadic
#A9229D #9DA922 #229DA9
tetradic
#A9229D #A97122 #22A92E #225AA9
square
#A9229D #A97122 #22A92E #225AA9
split-complementary
#A9229D #5AA922 #22A971
monochromatic
#430D3E #76186E #A9229D #D632C7 #E065D5

Accessibility & contrast

On white

6.17
#A9229D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A9229D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A9229D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9229D#FFFFFF#000000##FFFFFF
##A9229D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1655A0
Deuteranopia (green-blind)
#51689A
Tritanopia (blue-blind)
#B0335F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a9229d;
/* rgb */ color: rgb(169, 34, 157);
/* oklch */ color: oklch(52.2% 0.211 332.3);
Tailwind
colors: {
  custom: {
    50: '#c76eba',
    500: '#a9229d',
    950: '#000000',
  },
}
SCSS
$custom: #a9229d;
$custom-light: #c76eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a9229d",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 305.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52154,
    "c": 0.21094,
    "h": 332.3
  },
  "luminance": 0.12013
}

Semantic roles & 50–950 ramp

primary
#A9229D
secondary
#61C56A
accent
#E94E3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #A9229D

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

Preview Lab → · Contrast checker → · Palette generator →

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