#A52AB3#A52AB3

#A52AB3 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.218 H 323.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A52AB3
RGBrgb(165, 42, 179)
HSLhsl(294, 62%, 43%)
HSVhsv(294, 77%, 70%)
CMYKcmyk(7.8%, 76.5%, 0%, 29.8%)
CIE-LABlab(42.63, 65.41, -46.60)
CIE-LCHlch(42.63, 80.32, 324.53°)
OKLaboklab(53.42% 0.1753 -0.1302)
OKLCHoklch(53.42% 0.218 323.4)
XYZxyz(24.4809, 12.9114, 43.8418)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AB3 #38B32A
analogous
#612AB3 #A52AB3 #B32A7C
triadic
#A52AB3 #B3A52A #2AB3A5
tetradic
#A52AB3 #B3612A #38B32A #2A7CB3
square
#A52AB3 #B3612A #38B32A #2A7CB3
split-complementary
#A52AB3 #7CB32A #2AB361
monochromatic
#4A1350 #771E81 #A52AB3 #C546D4 #D578DF

Accessibility & contrast

On white

5.86
#A52AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A52AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AB3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AB3#FFFFFF#000000##FFFFFF
##A52AB31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4369B0
Tritanopia (blue-blind)
#A8446E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52ab3;
/* rgb */ color: rgb(165, 42, 179);
/* oklch */ color: oklch(53.4% 0.218 323.4);
Tailwind
colors: {
  custom: {
    50: '#c472ca',
    500: '#a52ab3',
    950: '#000000',
  },
}
SCSS
$custom: #a52ab3;
$custom-light: #c472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ab3",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 293.869,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53422,
    "c": 0.21832,
    "h": 323.4
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#A52AB3
secondary
#7AC772
accent
#E54353
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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