#A52EB5#A52EB5

#A52EB5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.216 H 322.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A52EB5
RGBrgb(165, 46, 181)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 75%, 71%)
CMYKcmyk(8.8%, 74.6%, 0%, 29%)
CIE-LABlab(43.20, 64.48, -46.87)
CIE-LCHlch(43.20, 79.72, 323.99°)
OKLaboklab(53.87% 0.1717 -0.131)
OKLCHoklch(53.87% 0.216 322.7)
XYZxyz(24.8337, 13.2910, 44.9645)
Luminance0.1329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB5 #3EB52E
analogous
#622EB5 #A52EB5 #B52E82
triadic
#A52EB5 #B5A52E #2EB5A5
tetradic
#A52EB5 #B5622E #3EB52E #2E82B5
square
#A52EB5 #B5622E #3EB52E #2E82B5
split-complementary
#A52EB5 #82B52E #2EB562
monochromatic
#4C1553 #792284 #A52EB5 #C24ED2 #D37FDE

Accessibility & contrast

On white

5.74
#A52EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A52EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EB5
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB5#FFFFFF#000000##FFFFFF
##A52EB51.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#436BB2
Tritanopia (blue-blind)
#A74870
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb5;
/* rgb */ color: rgb(165, 46, 181);
/* oklch */ color: oklch(53.9% 0.216 322.7);
Tailwind
colors: {
  custom: {
    50: '#c473cc',
    500: '#a52eb5',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb5;
$custom-light: #c473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb5",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 292.889,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53866,
    "c": 0.21591,
    "h": 322.7
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#A52EB5
secondary
#81C778
accent
#E34558
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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