#A52EA4#A52EA4

#A52EA4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.202 H 328.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A52EA4
RGBrgb(165, 46, 164)
HSLhsl(301, 56%, 41%)
HSVhsv(301, 72%, 65%)
CMYKcmyk(0%, 72.1%, 0.6%, 35.3%)
CIE-LABlab(42.21, 61.56, -38.36)
CIE-LCHlch(42.21, 72.53, 328.07°)
OKLaboklab(52.84% 0.1722 -0.1062)
OKLCHoklch(52.84% 0.202 328.3)
XYZxyz(23.1946, 12.6353, 36.3320)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA4 #2EA52F
analogous
#6B2EA5 #A52EA4 #A52E69
triadic
#A52EA4 #A4A52E #2EA4A5
tetradic
#A52EA4 #A56B2E #2EA52F #2E69A5
square
#A52EA4 #A56B2E #2EA52F #2E69A5
split-complementary
#A52EA4 #69A52E #2EA56B
monochromatic
#451345 #752174 #A52EA4 #CB45CA #D875D8

Accessibility & contrast

On white

5.95
#A52EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A52EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA4#FFFFFF#000000##FFFFFF
##A52EA41.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195AA7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#AA4066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ea4;
/* rgb */ color: rgb(165, 46, 164);
/* oklch */ color: oklch(52.8% 0.202 328.3);
Tailwind
colors: {
  custom: {
    50: '#c373bf',
    500: '#a52ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea4;
$custom-light: #c373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea4",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 300.504,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.20229,
    "h": 328.3
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#A52EA4
secondary
#6FC06F
accent
#E04948
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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