#A52EA0#A52EA0

#A52EA0 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.199 H 329.8°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#A52EA0
RGBrgb(165, 46, 160)
HSLhsl(303, 56%, 41%)
HSVhsv(303, 72%, 65%)
CMYKcmyk(0%, 72.1%, 3%, 35.3%)
CIE-LABlab(41.99, 60.90, -36.31)
CIE-LCHlch(41.99, 70.90, 329.19°)
OKLaboklab(52.61% 0.1721 -0.1003)
OKLCHoklch(52.61% 0.199 329.8)
XYZxyz(22.8391, 12.4931, 34.4594)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA0 #2EA533
analogous
#6F2EA5 #A52EA0 #A52E65
triadic
#A52EA0 #A0A52E #2EA0A5
tetradic
#A52EA0 #A56F2E #2EA533 #2E65A5
square
#A52EA0 #A56F2E #2EA533 #2E65A5
split-complementary
#A52EA0 #65A52E #2EA56F
monochromatic
#451343 #752172 #A52EA0 #CB45C6 #D875D4

Accessibility & contrast

On white

6.00
#A52EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A52EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA0
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA0#FFFFFF#000000##FFFFFF
##A52EA01.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F59A3
Deuteranopia (green-blind)
#51699D
Tritanopia (blue-blind)
#AB3E64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ea0;
/* rgb */ color: rgb(165, 46, 160);
/* oklch */ color: oklch(52.6% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#c373bc',
    500: '#a52ea0',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea0;
$custom-light: #c373bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea0",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 302.521,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.19917,
    "h": 329.8
  },
  "luminance": 0.12491
}

Semantic roles & 50–950 ramp

primary
#A52EA0
secondary
#6FC072
accent
#E04E48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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