#A522A2#A522A2

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

Color values

HEX#A522A2
RGBrgb(165, 34, 162)
HSLhsl(301, 66%, 39%)
HSVhsv(301, 79%, 65%)
CMYKcmyk(0%, 79.4%, 1.8%, 35.3%)
CIE-LABlab(40.82, 64.89, -39.36)
CIE-LCHlch(40.82, 75.89, 328.76°)
OKLaboklab(51.81% 0.1826 -0.109)
OKLCHoklch(51.81% 0.213 329.2)
XYZxyz(22.6105, 11.7538, 35.2533)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522A2 #22A525
analogous
#6722A5 #A522A2 #A52261
triadic
#A522A2 #A2A522 #22A2A5
tetradic
#A522A2 #A56722 #22A525 #2261A5
square
#A522A2 #A56722 #22A525 #2261A5
split-complementary
#A522A2 #61A522 #22A567
monochromatic
#400D3E #721870 #A522A2 #D430D1 #DF63DC

Accessibility & contrast

On white

6.27
#A522A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A522A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522A2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522A2#FFFFFF#000000##FFFFFF
##A522A21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#4B669F
Tritanopia (blue-blind)
#AB3762
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a522a2;
/* rgb */ color: rgb(165, 34, 162);
/* oklch */ color: oklch(51.8% 0.213 329.2);
Tailwind
colors: {
  custom: {
    50: '#c46ebe',
    500: '#a522a2',
    950: '#000000',
  },
}
SCSS
$custom: #a522a2;
$custom-light: #c46ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a522a2",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 162
  },
  "hsl": {
    "h": 301.374,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51814,
    "c": 0.21266,
    "h": 329.2
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#A522A2
secondary
#5FC461
accent
#E9433F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A522A2

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

Preview Lab → · Contrast checker → · Palette generator →

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