#A52AA2#A52AA2

#A52AA2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.205 H 329.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A52AA2
RGBrgb(165, 42, 162)
HSLhsl(301, 59%, 41%)
HSVhsv(301, 75%, 65%)
CMYKcmyk(0%, 74.5%, 1.8%, 35.3%)
CIE-LABlab(41.64, 62.55, -38.07)
CIE-LCHlch(41.64, 73.22, 328.67°)
OKLaboklab(52.39% 0.1759 -0.1053)
OKLCHoklch(52.39% 0.205 329.1)
XYZxyz(22.8664, 12.2656, 35.3386)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AA2 #2AA52D
analogous
#6A2AA5 #A52AA2 #A52A65
triadic
#A52AA2 #A2A52A #2AA2A5
tetradic
#A52AA2 #A56A2A #2AA52D #2A65A5
square
#A52AA2 #A56A2A #2AA52D #2A65A5
split-complementary
#A52AA2 #65A52A #2AA56A
monochromatic
#431142 #741E72 #A52AA2 #CE3ECA #DA6FD8

Accessibility & contrast

On white

6.08
#A52AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A52AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AA2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AA2#FFFFFF#000000##FFFFFF
##A52AA21.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1558A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AB3C64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52aa2;
/* rgb */ color: rgb(165, 42, 162);
/* oklch */ color: oklch(52.4% 0.205 329.1);
Tailwind
colors: {
  custom: {
    50: '#c371be',
    500: '#a52aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a52aa2;
$custom-light: #c371be;
$custom-dark: #000000;
JSON
{
  "hex": "#a52aa2",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 301.463,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.20504,
    "h": 329.1
  },
  "luminance": 0.12264
}

Semantic roles & 50–950 ramp

primary
#A52AA2
secondary
#69C16C
accent
#E34945
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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