#A52FAC#A52FAC

#A52FAC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.208 H 325.6°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A52FAC
RGBrgb(165, 47, 172)
HSLhsl(297, 57%, 43%)
HSVhsv(297, 73%, 67%)
CMYKcmyk(4.1%, 72.7%, 0%, 32.5%)
CIE-LABlab(42.78, 62.57, -42.21)
CIE-LCHlch(42.78, 75.48, 325.99°)
OKLaboklab(53.4% 0.1712 -0.1174)
OKLCHoklch(53.4% 0.208 325.6)
XYZxyz(23.9794, 13.0125, 40.2704)
Luminance0.1301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FAC #36AC2F
analogous
#662FAC #A52FAC #AC2F74
triadic
#A52FAC #ACA52F #2FACA5
tetradic
#A52FAC #AC662F #36AC2F #2F74AC
square
#A52FAC #AC662F #36AC2F #2F74AC
split-complementary
#A52FAC #74AC2F #2FAC66
monochromatic
#49154C #77227C #A52FAC #C64BCE #D57BDB

Accessibility & contrast

On white

5.83
#A52FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52FAC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FAC#FFFFFF#000000##FFFFFF
##A52FAC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#095CAF
Deuteranopia (green-blind)
#4A6AA9
Tritanopia (blue-blind)
#A9446B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52fac;
/* rgb */ color: rgb(165, 47, 172);
/* oklch */ color: oklch(53.4% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#c374c5',
    500: '#a52fac',
    950: '#000000',
  },
}
SCSS
$custom: #a52fac;
$custom-light: #c374c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fac",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 296.64,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.20754,
    "h": 325.6
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#A52FAC
secondary
#78C374
accent
#E04750
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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