#A229A9#A229A9

#A229A9 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.210 H 325.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A229A9
RGBrgb(162, 41, 169)
HSLhsl(297, 61%, 41%)
HSVhsv(297, 76%, 66%)
CMYKcmyk(4.1%, 75.7%, 0%, 33.7%)
CIE-LABlab(41.43, 63.39, -42.62)
CIE-LCHlch(41.43, 76.38, 326.09°)
OKLaboklab(52.28% 0.1734 -0.1186)
OKLCHoklch(52.28% 0.21 325.6)
XYZxyz(22.8542, 12.1334, 38.6667)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229A9 #30A929
analogous
#6229A9 #A229A9 #A92970
triadic
#A229A9 #A9A229 #29A9A2
tetradic
#A229A9 #A96229 #30A929 #2970A9
square
#A229A9 #A96229 #30A929 #2970A9
split-complementary
#A229A9 #70A929 #29A962
monochromatic
#441146 #731D78 #A229A9 #C83FD0 #D670DC

Accessibility & contrast

On white

6.13
#A229A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A229A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229A9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229A9#FFFFFF#000000##FFFFFF
##A229A91.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#A64068
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a229a9;
/* rgb */ color: rgb(162, 41, 169);
/* oklch */ color: oklch(52.3% 0.210 325.6);
Tailwind
colors: {
  custom: {
    50: '#c171c3',
    500: '#a229a9',
    950: '#000000',
  },
}
SCSS
$custom: #a229a9;
$custom-light: #c171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a229a9",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 296.719,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.21008,
    "h": 325.6
  },
  "luminance": 0.12132
}

Semantic roles & 50–950 ramp

primary
#A229A9
secondary
#6FC36A
accent
#E4444C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A229A9

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

Preview Lab → · Contrast checker → · Palette generator →

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