#A52EA7#A52EA7

#A52EA7 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.205 H 327.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A52EA7
RGBrgb(165, 46, 167)
HSLhsl(299, 57%, 42%)
HSVhsv(299, 72%, 65%)
CMYKcmyk(1.2%, 72.5%, 0%, 34.5%)
CIE-LABlab(42.38, 62.06, -39.88)
CIE-LCHlch(42.38, 73.77, 327.27°)
OKLaboklab(53.02% 0.1722 -0.1106)
OKLCHoklch(53.02% 0.205 327.3)
XYZxyz(23.4687, 12.7450, 37.7757)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA7 #30A72E
analogous
#692EA7 #A52EA7 #A72E6D
triadic
#A52EA7 #A7A52E #2EA7A5
tetradic
#A52EA7 #A7692E #30A72E #2E6DA7
square
#A52EA7 #A7692E #30A72E #2E6DA7
split-complementary
#A52EA7 #6DA72E #2EA769
monochromatic
#461447 #762177 #A52EA7 #CA46CC #D876D9

Accessibility & contrast

On white

5.92
#A52EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A52EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA7#FFFFFF#000000##FFFFFF
##A52EA71.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145AAA
Deuteranopia (green-blind)
#4D69A4
Tritanopia (blue-blind)
#AA4168
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ea7;
/* rgb */ color: rgb(165, 46, 167);
/* oklch */ color: oklch(53.0% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#c373c1',
    500: '#a52ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea7;
$custom-light: #c373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea7",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 299.008,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.20465,
    "h": 327.3
  },
  "luminance": 0.12743
}

Semantic roles & 50–950 ramp

primary
#A52EA7
secondary
#71C170
accent
#E0484A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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