#A52AAD#A52AAD

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

Color values

HEX#A52AAD
RGBrgb(165, 42, 173)
HSLhsl(296, 61%, 42%)
HSVhsv(296, 76%, 68%)
CMYKcmyk(4.6%, 75.7%, 0%, 32.2%)
CIE-LABlab(42.27, 64.38, -43.63)
CIE-LCHlch(42.27, 77.77, 325.88°)
OKLaboklab(53.05% 0.1757 -0.1215)
OKLCHoklch(53.05% 0.214 325.3)
XYZxyz(23.8873, 12.6740, 40.7152)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AAD #32AD2A
analogous
#642AAD #A52AAD #AD2A74
triadic
#A52AAD #ADA52A #2AADA5
tetradic
#A52AAD #AD642A #32AD2A #2A74AD
square
#A52AAD #AD642A #32AD2A #2A74AD
split-complementary
#A52AAD #74AD2A #2AAD64
monochromatic
#47124B #761E7C #A52AAD #C943D1 #D774DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52AAD#FFFFFF#000000##FFFFFF
##A52AAD1.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)
#005AB1
Deuteranopia (green-blind)
#4769AA
Tritanopia (blue-blind)
#A9426A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52aad;
/* rgb */ color: rgb(165, 42, 173);
/* oklch */ color: oklch(53.0% 0.214 325.3);
Tailwind
colors: {
  custom: {
    50: '#c471c6',
    500: '#a52aad',
    950: '#000000',
  },
}
SCSS
$custom: #a52aad;
$custom-light: #c471c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52aad",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 296.336,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.21357,
    "h": 325.3
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#A52AAD
secondary
#73C56E
accent
#E4444E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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