#A52EA9#A52EA9

#A52EA9 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.206 H 326.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A52EA9
RGBrgb(165, 46, 169)
HSLhsl(298, 57%, 42%)
HSVhsv(298, 73%, 66%)
CMYKcmyk(2.4%, 72.8%, 0%, 33.7%)
CIE-LABlab(42.49, 62.40, -40.90)
CIE-LCHlch(42.49, 74.60, 326.76°)
OKLaboklab(53.13% 0.1722 -0.1135)
OKLCHoklch(53.13% 0.206 326.6)
XYZxyz(23.6551, 12.8195, 38.7569)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA9 #32A92E
analogous
#682EA9 #A52EA9 #A92E6F
triadic
#A52EA9 #A9A52E #2EA9A5
tetradic
#A52EA9 #A9682E #32A92E #2E6FA9
square
#A52EA9 #A9682E #32A92E #2E6FA9
split-complementary
#A52EA9 #6FA92E #2EA968
monochromatic
#471449 #762179 #A52EA9 #C947CD #D777DA

Accessibility & contrast

On white

5.89
#A52EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A52EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA9#FFFFFF#000000##FFFFFF
##A52EA91.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#AA4269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ea9;
/* rgb */ color: rgb(165, 46, 169);
/* oklch */ color: oklch(53.1% 0.206 326.6);
Tailwind
colors: {
  custom: {
    50: '#c373c3',
    500: '#a52ea9',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea9;
$custom-light: #c373c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea9",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 298.049,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.20623,
    "h": 326.6
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#A52EA9
secondary
#73C271
accent
#E0474C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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