#A52AA3#A52AA3

#A52AA3 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.206 H 328.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A52AA3
RGBrgb(165, 42, 163)
HSLhsl(301, 59%, 41%)
HSVhsv(301, 75%, 65%)
CMYKcmyk(0%, 74.5%, 1.2%, 35.3%)
CIE-LABlab(41.69, 62.71, -38.58)
CIE-LCHlch(41.69, 73.63, 328.40°)
OKLaboklab(52.45% 0.1759 -0.1068)
OKLCHoklch(52.45% 0.206 328.7)
XYZxyz(22.9557, 12.3013, 35.8086)
Luminance0.1230 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AA3 #2AA52C
analogous
#6A2AA5 #A52AA3 #A52A65
triadic
#A52AA3 #A3A52A #2AA3A5
tetradic
#A52AA3 #A56A2A #2AA52C #2A65A5
square
#A52AA3 #A56A2A #2AA52C #2A65A5
split-complementary
#A52AA3 #65A52A #2AA56A
monochromatic
#431143 #741E73 #A52AA3 #CE3ECC #DA6FD9

Accessibility & contrast

On white

6.07
#A52AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A52AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AA3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AA3#FFFFFF#000000##FFFFFF
##A52AA31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A6
Deuteranopia (green-blind)
#4D68A0
Tritanopia (blue-blind)
#AB3D65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a52aa3;
/* rgb */ color: rgb(165, 42, 163);
/* oklch */ color: oklch(52.5% 0.206 328.7);
Tailwind
colors: {
  custom: {
    50: '#c371bf',
    500: '#a52aa3',
    950: '#000000',
  },
}
SCSS
$custom: #a52aa3;
$custom-light: #c371bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52aa3",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 300.976,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.2058,
    "h": 328.7
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#A52AA3
secondary
#69C16B
accent
#E34845
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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