#A52CA8#A52CA8

#A52CA8 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.208 H 327.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A52CA8
RGBrgb(165, 44, 168)
HSLhsl(299, 58%, 42%)
HSVhsv(299, 74%, 66%)
CMYKcmyk(1.8%, 73.8%, 0%, 34.1%)
CIE-LABlab(42.20, 62.89, -40.76)
CIE-LCHlch(42.20, 74.95, 327.05°)
OKLaboklab(52.91% 0.174 -0.1131)
OKLCHoklch(52.91% 0.208 327)
XYZxyz(23.4852, 12.6295, 38.2390)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52CA8 #2FA82C
analogous
#672CA8 #A52CA8 #A82C6D
triadic
#A52CA8 #A8A52C #2CA8A5
tetradic
#A52CA8 #A8672C #2FA82C #2C6DA8
square
#A52CA8 #A8672C #2FA82C #2C6DA8
split-complementary
#A52CA8 #6DA82C #2CA867
monochromatic
#461347 #751F78 #A52CA8 #CB43CE #D874DB

Accessibility & contrast

On white

5.96
#A52CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52CA8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52CA8#FFFFFF#000000##FFFFFF
##A52CA81.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5AAB
Deuteranopia (green-blind)
#4B69A5
Tritanopia (blue-blind)
#AA4068
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ca8;
/* rgb */ color: rgb(165, 44, 168);
/* oklch */ color: oklch(52.9% 0.208 327.0);
Tailwind
colors: {
  custom: {
    50: '#c372c2',
    500: '#a52ca8',
    950: '#000000',
  },
}
SCSS
$custom: #a52ca8;
$custom-light: #c372c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ca8",
  "rgb": {
    "r": 165,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 298.548,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.20759,
    "h": 327
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#A52CA8
secondary
#70C26E
accent
#E2464A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A52CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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