#A522A3#A522A3

#A522A3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.213 H 328.8°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A522A3
RGBrgb(165, 34, 163)
HSLhsl(301, 66%, 39%)
HSVhsv(301, 79%, 65%)
CMYKcmyk(0%, 79.4%, 1.2%, 35.3%)
CIE-LABlab(40.88, 65.05, -39.87)
CIE-LCHlch(40.88, 76.29, 328.49°)
OKLaboklab(51.87% 0.1826 -0.1105)
OKLCHoklch(51.87% 0.213 328.8)
XYZxyz(22.6997, 11.7895, 35.7233)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522A3 #22A524
analogous
#6622A5 #A522A3 #A52262
triadic
#A522A3 #A3A522 #22A3A5
tetradic
#A522A3 #A56622 #22A524 #2262A5
square
#A522A3 #A56622 #22A524 #2262A5
split-complementary
#A522A3 #62A522 #22A566
monochromatic
#400D3F #721871 #A522A3 #D430D2 #DF63DD

Accessibility & contrast

On white

6.25
#A522A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A522A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522A3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522A3#FFFFFF#000000##FFFFFF
##A522A31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A6
Deuteranopia (green-blind)
#4A66A0
Tritanopia (blue-blind)
#AB3863
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a522a3;
/* rgb */ color: rgb(165, 34, 163);
/* oklch */ color: oklch(51.9% 0.213 328.8);
Tailwind
colors: {
  custom: {
    50: '#c46ebf',
    500: '#a522a3',
    950: '#000000',
  },
}
SCSS
$custom: #a522a3;
$custom-light: #c46ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a522a3",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 300.916,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.2134,
    "h": 328.8
  },
  "luminance": 0.11788
}

Semantic roles & 50–950 ramp

primary
#A522A3
secondary
#5FC460
accent
#E9423F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A522A3

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

Preview Lab → · Contrast checker → · Palette generator →

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