#A52CA9#A52CA9

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

Color values

HEX#A52CA9
RGBrgb(165, 44, 169)
HSLhsl(298, 59%, 42%)
HSVhsv(298, 74%, 66%)
CMYKcmyk(2.4%, 74%, 0%, 33.7%)
CIE-LABlab(42.26, 63.06, -41.27)
CIE-LCHlch(42.26, 75.36, 326.80°)
OKLaboklab(52.97% 0.174 -0.1146)
OKLCHoklch(52.97% 0.208 326.6)
XYZxyz(23.5787, 12.6669, 38.7315)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA9 #30A92C
analogous
#672CA9 #A52CA9 #A92C6F
triadic
#A52CA9 #A9A52C #2CA9A5
tetradic
#A52CA9 #A9672C #30A92C #2C6FA9
square
#A52CA9 #A9672C #30A92C #2C6FA9
split-complementary
#A52CA9 #6FA92C #2CA967
monochromatic
#461348 #761F78 #A52CA9 #CA44CE #D874DB

Accessibility & contrast

On white

5.94
#A52CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A52CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA9
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA9#FFFFFF#000000##FFFFFF
##A52CA91.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAC
Deuteranopia (green-blind)
#4B69A6
Tritanopia (blue-blind)
#AA4168
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ca9;
/* rgb */ color: rgb(165, 44, 169);
/* oklch */ color: oklch(53.0% 0.208 326.6);
Tailwind
colors: {
  custom: {
    50: '#c372c3',
    500: '#a52ca9',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca9;
$custom-light: #c372c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca9",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 298.08,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.20837,
    "h": 326.6
  },
  "luminance": 0.12665
}

Semantic roles & 50–950 ramp

primary
#A52CA9
secondary
#71C36E
accent
#E2464B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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