#A52FAA#A52FAA

#A52FAA is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.3% C 0.206 H 326.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A52FAA
RGBrgb(165, 47, 170)
HSLhsl(298, 57%, 43%)
HSVhsv(298, 72%, 67%)
CMYKcmyk(2.9%, 72.4%, 0%, 33.3%)
CIE-LABlab(42.67, 62.22, -41.21)
CIE-LCHlch(42.67, 74.63, 326.49°)
OKLaboklab(53.28% 0.1712 -0.1145)
OKLCHoklch(53.28% 0.206 326.2)
XYZxyz(23.7888, 12.9362, 39.2664)
Luminance0.1293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FAA #34AA2F
analogous
#682FAA #A52FAA #AA2F71
triadic
#A52FAA #AAA52F #2FAAA5
tetradic
#A52FAA #AA682F #34AA2F #2F71AA
square
#A52FAA #AA682F #34AA2F #2F71AA
split-complementary
#A52FAA #71AA2F #2FAA68
monochromatic
#48144A #76227A #A52FAA #C749CD #D679DA

Accessibility & contrast

On white

5.85
#A52FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A52FAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FAA
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FAA#FFFFFF#000000##FFFFFF
##A52FAA1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5BAD
Deuteranopia (green-blind)
#4B6AA7
Tritanopia (blue-blind)
#A9436A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52faa;
/* rgb */ color: rgb(165, 47, 170);
/* oklch */ color: oklch(53.3% 0.206 326.2);
Tailwind
colors: {
  custom: {
    50: '#c373c4',
    500: '#a52faa',
    950: '#000000',
  },
}
SCSS
$custom: #a52faa;
$custom-light: #c373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52faa",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 297.561,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53278,
    "c": 0.20594,
    "h": 326.2
  },
  "luminance": 0.12935
}

Semantic roles & 50–950 ramp

primary
#A52FAA
secondary
#76C272
accent
#E0484E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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