#A52AB8#A52AB8

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

Color values

HEX#A52AB8
RGBrgb(165, 42, 184)
HSLhsl(292, 63%, 44%)
HSVhsv(292, 77%, 72%)
CMYKcmyk(10.3%, 77.2%, 0%, 27.8%)
CIE-LABlab(42.94, 66.29, -49.05)
CIE-LCHlch(42.94, 82.46, 323.50°)
OKLaboklab(53.74% 0.1749 -0.1373)
OKLCHoklch(53.74% 0.222 321.9)
XYZxyz(24.9958, 13.1174, 46.5534)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AB8 #3DB82A
analogous
#5E2AB8 #A52AB8 #B82A84
triadic
#A52AB8 #B8A52A #2AB8A5
tetradic
#A52AB8 #B85E2A #3DB82A #2A84B8
square
#A52AB8 #B85E2A #3DB82A #2A84B8
split-complementary
#A52AB8 #84B82A #2AB85E
monochromatic
#4C1354 #781F86 #A52AB8 #C34AD6 #D37BE1

Accessibility & contrast

On white

5.80
#A52AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A52AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AB8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AB8#FFFFFF#000000##FFFFFF
##A52AB81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#3E6AB5
Tritanopia (blue-blind)
#A74770
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52ab8;
/* rgb */ color: rgb(165, 42, 184);
/* oklch */ color: oklch(53.7% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#c472ce',
    500: '#a52ab8',
    950: '#000000',
  },
}
SCSS
$custom: #a52ab8;
$custom-light: #c472ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ab8",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 291.972,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53742,
    "c": 0.22233,
    "h": 321.9
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#A52AB8
secondary
#80C975
accent
#E64258
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A52AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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