#A52CA1#A52CA1

#A52CA1 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.202 H 329.4°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A52CA1
RGBrgb(165, 44, 161)
HSLhsl(302, 58%, 41%)
HSVhsv(302, 73%, 65%)
CMYKcmyk(0%, 73.3%, 2.4%, 35.3%)
CIE-LABlab(41.81, 61.73, -37.20)
CIE-LCHlch(41.81, 72.08, 328.93°)
OKLaboklab(52.5% 0.1741 -0.1028)
OKLCHoklch(52.5% 0.202 329.4)
XYZxyz(22.8506, 12.3756, 34.8965)
Luminance0.1237 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA1 #2CA530
analogous
#6C2CA5 #A52CA1 #A52C64
triadic
#A52CA1 #A1A52C #2CA1A5
tetradic
#A52CA1 #A56C2C #2CA530 #2C64A5
square
#A52CA1 #A56C2C #2CA530 #2C64A5
split-complementary
#A52CA1 #64A52C #2CA56C
monochromatic
#441243 #751F72 #A52CA1 #CD42C8 #D972D6

Accessibility & contrast

On white

6.04
#A52CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A52CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52CA1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA1#FFFFFF#000000##FFFFFF
##A52CA11.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A4
Deuteranopia (green-blind)
#4F689E
Tritanopia (blue-blind)
#AB3D64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ca1;
/* rgb */ color: rgb(165, 44, 161);
/* oklch */ color: oklch(52.5% 0.202 329.4);
Tailwind
colors: {
  custom: {
    50: '#c372bd',
    500: '#a52ca1',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca1;
$custom-light: #c372bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca1",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 301.983,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.20216,
    "h": 329.4
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#A52CA1
secondary
#6CC16F
accent
#E14C47
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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