#A52AB7#A52AB7

#A52AB7 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.222 H 322.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A52AB7
RGBrgb(165, 42, 183)
HSLhsl(292, 63%, 44%)
HSVhsv(292, 77%, 72%)
CMYKcmyk(9.8%, 77%, 0%, 28.2%)
CIE-LABlab(42.88, 66.11, -48.56)
CIE-LCHlch(42.88, 82.03, 323.70°)
OKLaboklab(53.68% 0.175 -0.1359)
OKLCHoklch(53.68% 0.222 322.2)
XYZxyz(24.8914, 13.0756, 46.0033)
Luminance0.1307 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AB7 #3CB72A
analogous
#5E2AB7 #A52AB7 #B72A83
triadic
#A52AB7 #B7A52A #2AB7A5
tetradic
#A52AB7 #B75E2A #3CB72A #2A83B7
square
#A52AB7 #B75E2A #3CB72A #2A83B7
split-complementary
#A52AB7 #83B72A #2AB75E
monochromatic
#4B1353 #781F85 #A52AB7 #C349D5 #D47BE1

Accessibility & contrast

On white

5.81
#A52AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52AB7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AB7#FFFFFF#000000##FFFFFF
##A52AB71.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#3F6AB4
Tritanopia (blue-blind)
#A74670
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52ab7;
/* rgb */ color: rgb(165, 42, 183);
/* oklch */ color: oklch(53.7% 0.222 322.2);
Tailwind
colors: {
  custom: {
    50: '#c472cd',
    500: '#a52ab7',
    950: '#000000',
  },
}
SCSS
$custom: #a52ab7;
$custom-light: #c472cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ab7",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 292.34,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53677,
    "c": 0.22153,
    "h": 322.2
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#A52AB7
secondary
#7FC974
accent
#E64257
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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