#A52AC0#A52AC0

#A52AC0 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.229 H 319.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A52AC0
RGBrgb(165, 42, 192)
HSLhsl(289, 64%, 46%)
HSVhsv(289, 78%, 75%)
CMYKcmyk(14.1%, 78.1%, 0%, 24.7%)
CIE-LABlab(43.45, 67.73, -52.92)
CIE-LCHlch(43.45, 85.95, 322.00°)
OKLaboklab(54.27% 0.1739 -0.1486)
OKLCHoklch(54.27% 0.229 319.5)
XYZxyz(25.8582, 13.4623, 51.0954)
Luminance0.1346 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52AC0 #45C02A
analogous
#5A2AC0 #A52AC0 #C02A90
triadic
#A52AC0 #C0A52A #2AC0A5
tetradic
#A52AC0 #C05A2A #45C02A #2A90C0
square
#A52AC0 #C05A2A #45C02A #2A90C0
split-complementary
#A52AC0 #90C02A #2AC05A
monochromatic
#4F145C #7A1F8E #A52AC0 #C04FD8 #D281E3

Accessibility & contrast

On white

5.69
#A52AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A52AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52AC0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52AC0#FFFFFF#000000##FFFFFF
##A52AC01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#376BBD
Tritanopia (blue-blind)
#A54B75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a52ac0;
/* rgb */ color: rgb(165, 42, 192);
/* oklch */ color: oklch(54.3% 0.229 319.5);
Tailwind
colors: {
  custom: {
    50: '#c472d4',
    500: '#a52ac0',
    950: '#000000',
  },
}
SCSS
$custom: #a52ac0;
$custom-light: #c472d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ac0",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 192
  },
  "hsl": {
    "h": 289.2,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.22881,
    "h": 319.5
  },
  "luminance": 0.13461
}

Semantic roles & 50–950 ramp

primary
#A52AC0
secondary
#88CC7A
accent
#E7415F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A52AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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