#A229AA#A229AA

#A229AA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.211 H 325.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A229AA
RGBrgb(162, 41, 170)
HSLhsl(296, 61%, 41%)
HSVhsv(296, 76%, 67%)
CMYKcmyk(4.7%, 75.9%, 0%, 33.3%)
CIE-LABlab(41.49, 63.56, -43.12)
CIE-LCHlch(41.49, 76.80, 325.85°)
OKLaboklab(52.34% 0.1734 -0.1201)
OKLCHoklch(52.34% 0.211 325.3)
XYZxyz(22.9484, 12.1711, 39.1630)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229AA #31AA29
analogous
#6229AA #A229AA #AA2972
triadic
#A229AA #AAA229 #29AAA2
tetradic
#A229AA #AA6229 #31AA29 #2972AA
square
#A229AA #AA6229 #31AA29 #2972AA
split-complementary
#A229AA #72AA29 #29AA62
monochromatic
#441147 #731D79 #A229AA #C83FD1 #D671DD

Accessibility & contrast

On white

6.12
#A229AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A229AA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229AA#FFFFFF#000000##FFFFFF
##A229AA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A64068
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a229aa;
/* rgb */ color: rgb(162, 41, 170);
/* oklch */ color: oklch(52.3% 0.211 325.3);
Tailwind
colors: {
  custom: {
    50: '#c171c4',
    500: '#a229aa',
    950: '#000000',
  },
}
SCSS
$custom: #a229aa;
$custom-light: #c171c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a229aa",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 296.279,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.21087,
    "h": 325.3
  },
  "luminance": 0.1217
}

Semantic roles & 50–950 ramp

primary
#A229AA
secondary
#71C46B
accent
#E4444E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A229AA

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

Preview Lab → · Contrast checker → · Palette generator →

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