#A52CA6#A52CA6

#A52CA6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.206 H 327.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A52CA6
RGBrgb(165, 44, 166)
HSLhsl(300, 58%, 41%)
HSVhsv(300, 73%, 65%)
CMYKcmyk(0.6%, 73.5%, 0%, 34.9%)
CIE-LABlab(42.09, 62.56, -39.75)
CIE-LCHlch(42.09, 74.12, 327.57°)
OKLaboklab(52.79% 0.1741 -0.1102)
OKLCHoklch(52.79% 0.206 327.7)
XYZxyz(23.3003, 12.5555, 37.2652)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA6 #2DA62C
analogous
#682CA6 #A52CA6 #A62C6A
triadic
#A52CA6 #A6A52C #2CA6A5
tetradic
#A52CA6 #A6682C #2DA62C #2C6AA6
square
#A52CA6 #A6682C #2DA62C #2C6AA6
split-complementary
#A52CA6 #6AA62C #2CA668
monochromatic
#451245 #751F76 #A52CA6 #CC42CD #D973DA

Accessibility & contrast

On white

5.98
#A52CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A52CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA6#FFFFFF#000000##FFFFFF
##A52CA61.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A9
Deuteranopia (green-blind)
#4C69A3
Tritanopia (blue-blind)
#AA3F67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ca6;
/* rgb */ color: rgb(165, 44, 166);
/* oklch */ color: oklch(52.8% 0.206 327.7);
Tailwind
colors: {
  custom: {
    50: '#c372c1',
    500: '#a52ca6',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca6;
$custom-light: #c372c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca6",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 299.508,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52789,
    "c": 0.20602,
    "h": 327.7
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#A52CA6
secondary
#6DC16D
accent
#E14648
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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