#A52BA5#A52BA5

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

Color values

HEX#A52BA5
RGBrgb(165, 43, 165)
HSLhsl(300, 59%, 41%)
HSVhsv(300, 74%, 65%)
CMYKcmyk(0%, 73.9%, 0%, 35.3%)
CIE-LABlab(41.92, 62.72, -39.42)
CIE-LCHlch(41.92, 74.08, 327.85°)
OKLaboklab(52.65% 0.175 -0.1092)
OKLCHoklch(52.65% 0.206 328)
XYZxyz(23.1722, 12.4454, 36.7717)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52BA5 #2BA52B
analogous
#682BA5 #A52BA5 #A52B68
triadic
#A52BA5 #A5A52B #2BA5A5
tetradic
#A52BA5 #A5682B #2BA52B #2B68A5
square
#A52BA5 #A5682B #2BA52B #2B68A5
split-complementary
#A52BA5 #68A52B #2BA568
monochromatic
#441244 #741E74 #A52BA5 #CD40CD #DA71DA

Accessibility & contrast

On white

6.02
#A52BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A52BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52BA5
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52BA5#FFFFFF#000000##FFFFFF
##A52BA51.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1159A8
Deuteranopia (green-blind)
#4C68A2
Tritanopia (blue-blind)
#AA3E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ba5;
/* rgb */ color: rgb(165, 43, 165);
/* oklch */ color: oklch(52.6% 0.206 328.0);
Tailwind
colors: {
  custom: {
    50: '#c372c0',
    500: '#a52ba5',
    950: '#000000',
  },
}
SCSS
$custom: #a52ba5;
$custom-light: #c372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ba5",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 300,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.2063,
    "h": 328
  },
  "luminance": 0.12444
}

Semantic roles & 50–950 ramp

primary
#A52BA5
secondary
#6BC16B
accent
#E24646
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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