#A52AB5#A52AB5

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

Color values

HEX#A52AB5
RGBrgb(165, 42, 181)
HSLhsl(293, 62%, 44%)
HSVhsv(293, 77%, 71%)
CMYKcmyk(8.8%, 76.8%, 0%, 29%)
CIE-LABlab(42.75, 65.76, -47.58)
CIE-LCHlch(42.75, 81.17, 324.11°)
OKLaboklab(53.55% 0.1751 -0.133)
OKLCHoklch(53.55% 0.22 322.8)
XYZxyz(24.6847, 12.9929, 44.9148)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AB5 #3AB52A
analogous
#5F2AB5 #A52AB5 #B52A7F
triadic
#A52AB5 #B5A52A #2AB5A5
tetradic
#A52AB5 #B55F2A #3AB52A #2A7FB5
square
#A52AB5 #B55F2A #3AB52A #2A7FB5
split-complementary
#A52AB5 #7FB52A #2AB55F
monochromatic
#4A1352 #781E83 #A52AB5 #C448D4 #D479E0

Accessibility & contrast

On white

5.84
#A52AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A52AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AB5
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AB5#FFFFFF#000000##FFFFFF
##A52AB51.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#416AB2
Tritanopia (blue-blind)
#A7456F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52ab5;
/* rgb */ color: rgb(165, 42, 181);
/* oklch */ color: oklch(53.5% 0.220 322.8);
Tailwind
colors: {
  custom: {
    50: '#c472cc',
    500: '#a52ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a52ab5;
$custom-light: #c472cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ab5",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 293.094,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.21992,
    "h": 322.8
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

primary
#A52AB5
secondary
#7DC873
accent
#E54255
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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