#A52CB6#A52CB6

#A52CB6 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.219 H 322.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A52CB6
RGBrgb(165, 44, 182)
HSLhsl(293, 61%, 44%)
HSVhsv(293, 76%, 71%)
CMYKcmyk(9.3%, 75.8%, 0%, 28.6%)
CIE-LABlab(43.03, 65.31, -47.72)
CIE-LCHlch(43.03, 80.89, 323.84°)
OKLaboklab(53.77% 0.1733 -0.1335)
OKLCHoklch(53.77% 0.219 322.4)
XYZxyz(24.8604, 13.1795, 45.4814)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CB6 #3DB62C
analogous
#602CB6 #A52CB6 #B62C82
triadic
#A52CB6 #B6A52C #2CB6A5
tetradic
#A52CB6 #B6602C #3DB62C #2C82B6
square
#A52CB6 #B6602C #3DB62C #2C82B6
split-complementary
#A52CB6 #82B62C #2CB660
monochromatic
#4C1453 #782085 #A52CB6 #C34CD4 #D37DE0

Accessibility & contrast

On white

5.78
#A52CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A52CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CB6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CB6#FFFFFF#000000##FFFFFF
##A52CB61.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#416AB3
Tritanopia (blue-blind)
#A74770
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52cb6;
/* rgb */ color: rgb(165, 44, 182);
/* oklch */ color: oklch(53.8% 0.219 322.4);
Tailwind
colors: {
  custom: {
    50: '#c473cc',
    500: '#a52cb6',
    950: '#000000',
  },
}
SCSS
$custom: #a52cb6;
$custom-light: #c473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cb6",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 292.609,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53768,
    "c": 0.21877,
    "h": 322.4
  },
  "luminance": 0.13178
}

Semantic roles & 50–950 ramp

primary
#A52CB6
secondary
#80C876
accent
#E44457
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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