#A229AB#A229AB

#A229AB is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.212 H 325.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A229AB
RGBrgb(162, 41, 171)
HSLhsl(296, 61%, 42%)
HSVhsv(296, 76%, 67%)
CMYKcmyk(5.3%, 76%, 0%, 32.9%)
CIE-LABlab(41.55, 63.73, -43.62)
CIE-LCHlch(41.55, 77.23, 325.61°)
OKLaboklab(52.4% 0.1733 -0.1215)
OKLCHoklch(52.4% 0.212 325)
XYZxyz(23.0434, 12.2090, 39.6630)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229AB #32AB29
analogous
#6129AB #A229AB #AB2973
triadic
#A229AB #ABA229 #29ABA2
tetradic
#A229AB #AB6129 #32AB29 #2973AB
square
#A229AB #AB6129 #32AB29 #2973AB
split-complementary
#A229AB #73AB29 #29AB61
monochromatic
#441148 #731D7A #A229AB #C740D1 #D671DD

Accessibility & contrast

On white

6.10
#A229AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A229AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229AB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229AB#FFFFFF#000000##FFFFFF
##A229AB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AE
Deuteranopia (green-blind)
#4567A8
Tritanopia (blue-blind)
#A64169
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a229ab;
/* rgb */ color: rgb(162, 41, 171);
/* oklch */ color: oklch(52.4% 0.212 325.0);
Tailwind
colors: {
  custom: {
    50: '#c171c4',
    500: '#a229ab',
    950: '#000000',
  },
}
SCSS
$custom: #a229ab;
$custom-light: #c171c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a229ab",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 295.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.21166,
    "h": 325
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#A229AB
secondary
#72C46C
accent
#E4434F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A229AB

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

Preview Lab → · Contrast checker → · Palette generator →

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