#A52CAC#A52CAC

#A52CAC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.211 H 325.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A52CAC
RGBrgb(165, 44, 172)
HSLhsl(297, 59%, 42%)
HSVhsv(297, 74%, 67%)
CMYKcmyk(4.1%, 74.4%, 0%, 32.5%)
CIE-LABlab(42.43, 63.57, -42.77)
CIE-LCHlch(42.43, 76.62, 326.07°)
OKLaboklab(53.15% 0.1739 -0.119)
OKLCHoklch(53.15% 0.211 325.6)
XYZxyz(23.8636, 12.7808, 40.2318)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CAC #33AC2C
analogous
#652CAC #A52CAC #AC2C73
triadic
#A52CAC #ACA52C #2CACA5
tetradic
#A52CAC #AC652C #33AC2C #2C73AC
square
#A52CAC #AC652C #33AC2C #2C73AC
split-complementary
#A52CAC #73AC2C #2CAC65
monochromatic
#48134B #76207B #A52CAC #C846D0 #D676DC

Accessibility & contrast

On white

5.91
#A52CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A52CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CAC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CAC#FFFFFF#000000##FFFFFF
##A52CAC1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#4969A9
Tritanopia (blue-blind)
#A9426A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52cac;
/* rgb */ color: rgb(165, 44, 172);
/* oklch */ color: oklch(53.1% 0.211 325.6);
Tailwind
colors: {
  custom: {
    50: '#c372c5',
    500: '#a52cac',
    950: '#000000',
  },
}
SCSS
$custom: #a52cac;
$custom-light: #c372c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52cac",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 296.719,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.21074,
    "h": 325.6
  },
  "luminance": 0.12779
}

Semantic roles & 50–950 ramp

primary
#A52CAC
secondary
#75C470
accent
#E2454E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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