#A229AE#A229AE

#A229AE is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 324.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A229AE
RGBrgb(162, 41, 174)
HSLhsl(295, 62%, 42%)
HSVhsv(295, 76%, 68%)
CMYKcmyk(6.9%, 76.4%, 0%, 31.8%)
CIE-LABlab(41.73, 64.25, -45.11)
CIE-LCHlch(41.73, 78.50, 324.93°)
OKLaboklab(52.59% 0.1731 -0.1259)
OKLCHoklch(52.59% 0.214 324)
XYZxyz(23.3326, 12.3247, 41.1861)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229AE #35AE29
analogous
#5F29AE #A229AE #AE2978
triadic
#A229AE #AEA229 #29AEA2
tetradic
#A229AE #AE5F29 #35AE29 #2978AE
square
#A229AE #AE5F29 #35AE29 #2978AE
split-complementary
#A229AE #78AE29 #29AE5F
monochromatic
#46124B #741D7C #A229AE #C542D2 #D473DE

Accessibility & contrast

On white

6.06
#A229AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A229AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229AE
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229AE#FFFFFF#000000##FFFFFF
##A229AE1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B2
Deuteranopia (green-blind)
#4367AB
Tritanopia (blue-blind)
#A5426B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a229ae;
/* rgb */ color: rgb(162, 41, 174);
/* oklch */ color: oklch(52.6% 0.214 324.0);
Tailwind
colors: {
  custom: {
    50: '#c171c7',
    500: '#a229ae',
    950: '#000000',
  },
}
SCSS
$custom: #a229ae;
$custom-light: #c171c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a229ae",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 294.586,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52589,
    "c": 0.21405,
    "h": 324
  },
  "luminance": 0.12323
}

Semantic roles & 50–950 ramp

primary
#A229AE
secondary
#75C56D
accent
#E54351
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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