#A229A6#A229A6

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

Color values

HEX#A229A6
RGBrgb(162, 41, 166)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 65%)
CMYKcmyk(2.4%, 75.3%, 0%, 34.9%)
CIE-LABlab(41.25, 62.88, -41.11)
CIE-LCHlch(41.25, 75.12, 326.82°)
OKLaboklab(52.1% 0.1735 -0.1142)
OKLCHoklch(52.1% 0.208 326.6)
XYZxyz(22.5758, 12.0220, 37.2004)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229A6 #2DA629
analogous
#6329A6 #A229A6 #A6296B
triadic
#A229A6 #A6A229 #29A6A2
tetradic
#A229A6 #A66329 #2DA629 #296BA6
square
#A229A6 #A66329 #2DA629 #296BA6
split-complementary
#A229A6 #6BA629 #29A663
monochromatic
#421144 #721D75 #A229A6 #CA3DCF #D86EDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A229A6#FFFFFF#000000##FFFFFF
##A229A61.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)
#0158A9
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#A63E66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a229a6;
/* rgb */ color: rgb(162, 41, 166);
/* oklch */ color: oklch(52.1% 0.208 326.6);
Tailwind
colors: {
  custom: {
    50: '#c170c1',
    500: '#a229a6',
    950: '#000000',
  },
}
SCSS
$custom: #a229a6;
$custom-light: #c170c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a229a6",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 166
  },
  "hsl": {
    "h": 298.08,
    "s": 60.386,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.20772,
    "h": 326.6
  },
  "luminance": 0.1202
}

Semantic roles & 50–950 ramp

primary
#A229A6
secondary
#6CC269
accent
#E44449
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A229A6

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

Preview Lab → · Contrast checker → · Palette generator →

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