#A52DA5#A52DA5

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

Color values

HEX#A52DA5
RGBrgb(165, 45, 165)
HSLhsl(300, 57%, 41%)
HSVhsv(300, 73%, 65%)
CMYKcmyk(0%, 72.7%, 0%, 35.3%)
CIE-LABlab(42.15, 62.06, -39.06)
CIE-LCHlch(42.15, 73.33, 327.82°)
OKLaboklab(52.81% 0.1731 -0.1082)
OKLCHoklch(52.81% 0.204 328)
XYZxyz(23.2467, 12.5944, 36.7966)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52DA5 #2DA52D
analogous
#692DA5 #A52DA5 #A52D69
triadic
#A52DA5 #A5A52D #2DA5A5
tetradic
#A52DA5 #A5692D #2DA52D #2D69A5
square
#A52DA5 #A5692D #2DA52D #2D69A5
split-complementary
#A52DA5 #69A52D #2DA569
monochromatic
#451345 #752075 #A52DA5 #CC43CC #D973D9

Accessibility & contrast

On white

5.97
#A52DA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A52DA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52DA5
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52DA5#FFFFFF#000000##FFFFFF
##A52DA51.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1659A8
Deuteranopia (green-blind)
#4D69A2
Tritanopia (blue-blind)
#AA3F67
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52da5;
/* rgb */ color: rgb(165, 45, 165);
/* oklch */ color: oklch(52.8% 0.204 328.0);
Tailwind
colors: {
  custom: {
    50: '#c372c0',
    500: '#a52da5',
    950: '#000000',
  },
}
SCSS
$custom: #a52da5;
$custom-light: #c372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52da5",
  "rgb": {
    "r": 165,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.20417,
    "h": 328
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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