#A52CA5#A52CA5

#A52CA5 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.205 H 328.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A52CA5
RGBrgb(165, 44, 165)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 73%, 65%)
CMYKcmyk(0%, 73.3%, 0%, 35.3%)
CIE-LABlab(42.03, 62.39, -39.24)
CIE-LCHlch(42.03, 73.71, 327.83°)
OKLaboklab(52.73% 0.1741 -0.1087)
OKLCHoklch(52.73% 0.205 328)
XYZxyz(23.2090, 12.5190, 36.7840)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA5 #2CA52C
analogous
#682CA5 #A52CA5 #A52C68
triadic
#A52CA5 #A5A52C #2CA5A5
tetradic
#A52CA5 #A5682C #2CA52C #2C68A5
square
#A52CA5 #A5682C #2CA52C #2C68A5
split-complementary
#A52CA5 #68A52C #2CA568
monochromatic
#441244 #751F75 #A52CA5 #CD42CD #D972D9

Accessibility & contrast

On white

5.99
#A52CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A52CA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA5#FFFFFF#000000##FFFFFF
##A52CA51.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1359A8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#AA3F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ca5;
/* rgb */ color: rgb(165, 44, 165);
/* oklch */ color: oklch(52.7% 0.205 328.0);
Tailwind
colors: {
  custom: {
    50: '#c372c0',
    500: '#a52ca5',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca5;
$custom-light: #c372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca5",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5273,
    "c": 0.20525,
    "h": 328
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#A52CA5
secondary
#6CC16C
accent
#E14747
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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