#A52CA2#A52CA2

#A52CA2 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.203 H 329.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#A52CA2
RGBrgb(165, 44, 162)
HSLhsl(301, 58%, 41%)
HSVhsv(301, 73%, 65%)
CMYKcmyk(0%, 73.3%, 1.8%, 35.3%)
CIE-LABlab(41.86, 61.90, -37.71)
CIE-LCHlch(41.86, 72.48, 328.65°)
OKLaboklab(52.56% 0.1741 -0.1043)
OKLCHoklch(52.56% 0.203 329.1)
XYZxyz(22.9391, 12.4111, 35.3628)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA2 #2CA52F
analogous
#6B2CA5 #A52CA2 #A52C65
triadic
#A52CA2 #A2A52C #2CA2A5
tetradic
#A52CA2 #A56B2C #2CA52F #2C65A5
square
#A52CA2 #A56B2C #2CA52F #2C65A5
split-complementary
#A52CA2 #65A52C #2CA56B
monochromatic
#441243 #751F73 #A52CA2 #CD42C9 #D972D7

Accessibility & contrast

On white

6.03
#A52CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A52CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA2#FFFFFF#000000##FFFFFF
##A52CA21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#AB3D65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ca2;
/* rgb */ color: rgb(165, 44, 162);
/* oklch */ color: oklch(52.6% 0.203 329.1);
Tailwind
colors: {
  custom: {
    50: '#c372be',
    500: '#a52ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca2;
$custom-light: #c372be;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca2",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 301.488,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52557,
    "c": 0.20292,
    "h": 329.1
  },
  "luminance": 0.12409
}

Semantic roles & 50–950 ramp

primary
#A52CA2
secondary
#6CC16E
accent
#E14B47
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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