#A52AA9#A52AA9

#A52AA9 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.210 H 326.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A52AA9
RGBrgb(165, 42, 169)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 66%)
CMYKcmyk(2.4%, 75.1%, 0%, 33.7%)
CIE-LABlab(42.03, 63.70, -41.62)
CIE-LCHlch(42.03, 76.10, 326.84°)
OKLaboklab(52.81% 0.1758 -0.1156)
OKLCHoklch(52.81% 0.21 326.7)
XYZxyz(23.5060, 12.5215, 38.7072)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AA9 #2EA92A
analogous
#662AA9 #A52AA9 #A92A6E
triadic
#A52AA9 #A9A52A #2AA9A5
tetradic
#A52AA9 #A9662A #2EA92A #2A6EA9
square
#A52AA9 #A9662A #2EA92A #2A6EA9
split-complementary
#A52AA9 #6EA92A #2AA966
monochromatic
#451247 #751E78 #A52AA9 #CB41D0 #D872DC

Accessibility & contrast

On white

5.99
#A52AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A52AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AA9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AA9#FFFFFF#000000##FFFFFF
##A52AA91.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0159AC
Deuteranopia (green-blind)
#4A68A6
Tritanopia (blue-blind)
#AA4068
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52aa9;
/* rgb */ color: rgb(165, 42, 169);
/* oklch */ color: oklch(52.8% 0.210 326.7);
Tailwind
colors: {
  custom: {
    50: '#c371c3',
    500: '#a52aa9',
    950: '#000000',
  },
}
SCSS
$custom: #a52aa9;
$custom-light: #c371c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52aa9",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 298.11,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.21044,
    "h": 326.7
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#A52AA9
secondary
#6FC36C
accent
#E34449
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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