#A229A3#A229A3

#A229A3 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 327.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#A229A3
RGBrgb(162, 41, 163)
HSLhsl(300, 60%, 40%)
HSVhsv(300, 75%, 64%)
CMYKcmyk(0.6%, 74.8%, 0%, 36.1%)
CIE-LABlab(41.08, 62.38, -39.59)
CIE-LCHlch(41.08, 73.88, 327.60°)
OKLaboklab(51.92% 0.1736 -0.1098)
OKLCHoklch(51.92% 0.205 327.7)
XYZxyz(22.3038, 11.9132, 35.7680)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229A3 #2AA329
analogous
#6529A3 #A229A3 #A32967
triadic
#A229A3 #A3A229 #29A3A2
tetradic
#A229A3 #A36529 #2AA329 #2967A3
square
#A229A3 #A36529 #2AA329 #2967A3
split-complementary
#A229A3 #67A329 #29A365
monochromatic
#411041 #711D72 #A229A3 #CD3BCE #D96CDA

Accessibility & contrast

On white

6.21
#A229A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A229A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A229A3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229A3#FFFFFF#000000##FFFFFF
##A229A31.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B57A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#A73D64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a229a3;
/* rgb */ color: rgb(162, 41, 163);
/* oklch */ color: oklch(51.9% 0.205 327.7);
Tailwind
colors: {
  custom: {
    50: '#c170bf',
    500: '#a229a3',
    950: '#000000',
  },
}
SCSS
$custom: #a229a3;
$custom-light: #c170bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a229a3",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 299.508,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.51918,
    "c": 0.20539,
    "h": 327.7
  },
  "luminance": 0.11912
}

Semantic roles & 50–950 ramp

primary
#A229A3
secondary
#68C167
accent
#E34546
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A229A3

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

Preview Lab → · Contrast checker → · Palette generator →

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