#A522A0#A522A0

#A522A0 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.211 H 329.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A522A0
RGBrgb(165, 34, 160)
HSLhsl(302, 66%, 39%)
HSVhsv(302, 79%, 65%)
CMYKcmyk(0%, 79.4%, 3%, 35.3%)
CIE-LABlab(40.71, 64.57, -38.34)
CIE-LCHlch(40.71, 75.10, 329.30°)
OKLaboklab(51.7% 0.1826 -0.106)
OKLCHoklch(51.7% 0.211 329.9)
XYZxyz(22.4341, 11.6832, 34.3244)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A522A0 #22A527
analogous
#6922A5 #A522A0 #A5225F
triadic
#A522A0 #A0A522 #22A0A5
tetradic
#A522A0 #A56922 #22A527 #225FA5
square
#A522A0 #A56922 #22A527 #225FA5
split-complementary
#A522A0 #5FA522 #22A569
monochromatic
#400D3E #72186F #A522A0 #D430CE #DF63DA

Accessibility & contrast

On white

6.29
#A522A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A522A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A522A0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A522A0#FFFFFF#000000##FFFFFF
##A522A01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0755A3
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#AB3661
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a522a0;
/* rgb */ color: rgb(165, 34, 160);
/* oklch */ color: oklch(51.7% 0.211 329.9);
Tailwind
colors: {
  custom: {
    50: '#c46ebc',
    500: '#a522a0',
    950: '#000000',
  },
}
SCSS
$custom: #a522a0;
$custom-light: #c46ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a522a0",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 302.29,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51697,
    "c": 0.21119,
    "h": 329.9
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#A522A0
secondary
#5FC463
accent
#E9463F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A522A0

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

Preview Lab → · Contrast checker → · Palette generator →

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