#A52EA5#A52EA5

#A52EA5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.203 H 328.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A52EA5
RGBrgb(165, 46, 165)
HSLhsl(300, 56%, 41%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0%, 72.1%, 0%, 35.3%)
CIE-LABlab(42.26, 61.72, -38.87)
CIE-LCHlch(42.26, 72.94, 327.80°)
OKLaboklab(52.9% 0.1722 -0.1077)
OKLCHoklch(52.9% 0.203 328)
XYZxyz(23.2853, 12.6716, 36.8094)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA5 #2EA52E
analogous
#6A2EA5 #A52EA5 #A52E6A
triadic
#A52EA5 #A5A52E #2EA5A5
tetradic
#A52EA5 #A56A2E #2EA52E #2E6AA5
square
#A52EA5 #A56A2E #2EA52E #2E6AA5
split-complementary
#A52EA5 #6AA52E #2EA56A
monochromatic
#451345 #752175 #A52EA5 #CB45CB #D875D8

Accessibility & contrast

On white

5.94
#A52EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52EA5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA5#FFFFFF#000000##FFFFFF
##A52EA51.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185AA8
Deuteranopia (green-blind)
#4E69A2
Tritanopia (blue-blind)
#AA4067
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ea5;
/* rgb */ color: rgb(165, 46, 165);
/* oklch */ color: oklch(52.9% 0.203 328.0);
Tailwind
colors: {
  custom: {
    50: '#c373c0',
    500: '#a52ea5',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea5;
$custom-light: #c373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea5",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.20307,
    "h": 328
  },
  "luminance": 0.1267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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