#A52EA1#A52EA1

#A52EA1 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.7% C 0.200 H 329.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A52EA1
RGBrgb(165, 46, 161)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 72%, 65%)
CMYKcmyk(0%, 72.1%, 2.4%, 35.3%)
CIE-LABlab(42.04, 61.06, -36.83)
CIE-LCHlch(42.04, 71.30, 328.90°)
OKLaboklab(52.67% 0.1721 -0.1017)
OKLCHoklch(52.67% 0.2 329.4)
XYZxyz(22.9269, 12.5283, 34.9220)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA1 #2EA532
analogous
#6E2EA5 #A52EA1 #A52E66
triadic
#A52EA1 #A1A52E #2EA1A5
tetradic
#A52EA1 #A56E2E #2EA532 #2E66A5
square
#A52EA1 #A56E2E #2EA532 #2E66A5
split-complementary
#A52EA1 #66A52E #2EA56E
monochromatic
#451344 #752172 #A52EA1 #CB45C7 #D875D5

Accessibility & contrast

On white

5.99
#A52EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A52EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA1
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA1#FFFFFF#000000##FFFFFF
##A52EA11.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E59A4
Deuteranopia (green-blind)
#50699E
Tritanopia (blue-blind)
#AB3E65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ea1;
/* rgb */ color: rgb(165, 46, 161);
/* oklch */ color: oklch(52.7% 0.200 329.4);
Tailwind
colors: {
  custom: {
    50: '#c373bd',
    500: '#a52ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea1;
$custom-light: #c373bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea1",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 302.017,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.19994,
    "h": 329.4
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#A52EA1
secondary
#6FC071
accent
#E04D48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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