#A9229C#A9229C

#A9229C is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.210 H 332.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A9229C
RGBrgb(169, 34, 156)
HSLhsl(306, 67%, 40%)
HSVhsv(306, 80%, 66%)
CMYKcmyk(0%, 79.9%, 7.7%, 33.7%)
CIE-LABlab(41.19, 64.79, -35.13)
CIE-LCHlch(41.19, 73.70, 331.53°)
OKLaboklab(52.1% 0.1867 -0.0966)
OKLCHoklch(52.1% 0.21 332.6)
XYZxyz(22.9351, 11.9814, 32.5508)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A9229C #22A92F
analogous
#7322A9 #A9229C #A92258
triadic
#A9229C #9CA922 #229CA9
tetradic
#A9229C #A97322 #22A92F #2258A9
square
#A9229C #A97322 #22A92F #2258A9
split-complementary
#A9229C #58A922 #22A973
monochromatic
#430D3E #76186D #A9229C #D632C6 #E065D4

Accessibility & contrast

On white

6.18
#A9229C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A9229C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A9229C#FFFFFF#000000##FFFFFF
##A9229C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559F
Deuteranopia (green-blind)
#526899
Tritanopia (blue-blind)
#B1335F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a9229c;
/* rgb */ color: rgb(169, 34, 156);
/* oklch */ color: oklch(52.1% 0.210 332.6);
Tailwind
colors: {
  custom: {
    50: '#c76eb9',
    500: '#a9229c',
    950: '#000000',
  },
}
SCSS
$custom: #a9229c;
$custom-light: #c76eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a9229c",
  "rgb": {
    "r": 169,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 305.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52098,
    "c": 0.21022,
    "h": 332.6
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#A9229C
secondary
#61C56B
accent
#E94F3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #A9229C

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

Preview Lab → · Contrast checker → · Palette generator →

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