#A52FAD#A52FAD

#A52FAD is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.208 H 325.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A52FAD
RGBrgb(165, 47, 173)
HSLhsl(296, 57%, 43%)
HSVhsv(296, 73%, 68%)
CMYKcmyk(4.6%, 72.8%, 0%, 32.2%)
CIE-LABlab(42.84, 62.74, -42.71)
CIE-LCHlch(42.84, 75.90, 325.75°)
OKLaboklab(53.46% 0.1711 -0.1188)
OKLCHoklch(53.46% 0.208 325.2)
XYZxyz(24.0758, 13.0511, 40.7781)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FAD #37AD2F
analogous
#662FAD #A52FAD #AD2F76
triadic
#A52FAD #ADA52F #2FADA5
tetradic
#A52FAD #AD662F #37AD2F #2F76AD
square
#A52FAD #AD662F #37AD2F #2F76AD
split-complementary
#A52FAD #76AD2F #2FAD66
monochromatic
#49154D #77227D #A52FAD #C64BCE #D57BDB

Accessibility & contrast

On white

5.82
#A52FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A52FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FAD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FAD#FFFFFF#000000##FFFFFF
##A52FAD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055CB0
Deuteranopia (green-blind)
#496AAA
Tritanopia (blue-blind)
#A9446B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52fad;
/* rgb */ color: rgb(165, 47, 173);
/* oklch */ color: oklch(53.5% 0.208 325.2);
Tailwind
colors: {
  custom: {
    50: '#c374c6',
    500: '#a52fad',
    950: '#000000',
  },
}
SCSS
$custom: #a52fad;
$custom-light: #c374c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fad",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 296.19,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53457,
    "c": 0.20834,
    "h": 325.2
  },
  "luminance": 0.13049
}

Semantic roles & 50–950 ramp

primary
#A52FAD
secondary
#79C474
accent
#E14751
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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