#A52CAA#A52CAA

#A52CAA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.209 H 326.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A52CAA
RGBrgb(165, 44, 170)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 74%, 67%)
CMYKcmyk(2.9%, 74.1%, 0%, 33.3%)
CIE-LABlab(42.31, 63.23, -41.77)
CIE-LCHlch(42.31, 75.78, 326.55°)
OKLaboklab(53.03% 0.174 -0.1161)
OKLCHoklch(53.03% 0.209 326.3)
XYZxyz(23.6730, 12.7046, 39.2278)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CAA #31AA2C
analogous
#662CAA #A52CAA #AA2C70
triadic
#A52CAA #AAA52C #2CAAA5
tetradic
#A52CAA #AA662C #31AA2C #2C70AA
square
#A52CAA #AA662C #31AA2C #2C70AA
split-complementary
#A52CAA #70AA2C #2CAA66
monochromatic
#471349 #761F79 #A52CAA #C944CF #D775DB

Accessibility & contrast

On white

5.93
#A52CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A52CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CAA
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CAA#FFFFFF#000000##FFFFFF
##A52CAA1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055AAD
Deuteranopia (green-blind)
#4A69A7
Tritanopia (blue-blind)
#A94169
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52caa;
/* rgb */ color: rgb(165, 44, 170);
/* oklch */ color: oklch(53.0% 0.209 326.3);
Tailwind
colors: {
  custom: {
    50: '#c372c4',
    500: '#a52caa',
    950: '#000000',
  },
}
SCSS
$custom: #a52caa;
$custom-light: #c372c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52caa",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 297.619,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53026,
    "c": 0.20917,
    "h": 326.3
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#A52CAA
secondary
#72C36F
accent
#E2464C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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