#A229A2#A229A2

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

Color values

HEX#A229A2
RGBrgb(162, 41, 162)
HSLhsl(300, 60%, 40%)
HSVhsv(300, 75%, 64%)
CMYKcmyk(0%, 74.7%, 0%, 36.5%)
CIE-LABlab(41.02, 62.21, -39.08)
CIE-LCHlch(41.02, 73.47, 327.86°)
OKLaboklab(51.86% 0.1736 -0.1083)
OKLCHoklch(51.86% 0.205 328)
XYZxyz(22.2145, 11.8775, 35.2980)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A229A2 #29A229
analogous
#6629A2 #A229A2 #A22966
triadic
#A229A2 #A2A229 #29A2A2
tetradic
#A229A2 #A26629 #29A229 #2966A2
square
#A229A2 #A26629 #29A229 #2966A2
split-complementary
#A229A2 #66A229 #29A266
monochromatic
#401040 #711D71 #A229A2 #CD3BCD #DA6CDA

Accessibility & contrast

On white

6.22
#A229A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A229A2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A229A2#FFFFFF#000000##FFFFFF
##A229A21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#A73C64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a229a2;
/* rgb */ color: rgb(162, 41, 162);
/* oklch */ color: oklch(51.9% 0.205 328.0);
Tailwind
colors: {
  custom: {
    50: '#c170be',
    500: '#a229a2',
    950: '#000000',
  },
}
SCSS
$custom: #a229a2;
$custom-light: #c170be;
$custom-dark: #000000;
JSON
{
  "hex": "#a229a2",
  "rgb": {
    "r": 162,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 300,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.20462,
    "h": 328
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#A229A2
secondary
#67C067
accent
#E34545
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A229A2

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

Preview Lab → · Contrast checker → · Palette generator →

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