#A52EA2#A52EA2

#A52EA2 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.7% C 0.201 H 329.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A52EA2
RGBrgb(165, 46, 162)
HSLhsl(302, 56%, 41%)
HSVhsv(302, 72%, 65%)
CMYKcmyk(0%, 72.1%, 1.8%, 35.3%)
CIE-LABlab(42.10, 61.22, -37.34)
CIE-LCHlch(42.10, 71.71, 328.62°)
OKLaboklab(52.73% 0.1722 -0.1032)
OKLCHoklch(52.73% 0.201 329.1)
XYZxyz(23.0154, 12.5637, 35.3882)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA2 #2EA531
analogous
#6D2EA5 #A52EA2 #A52E67
triadic
#A52EA2 #A2A52E #2EA2A5
tetradic
#A52EA2 #A56D2E #2EA531 #2E67A5
square
#A52EA2 #A56D2E #2EA531 #2E67A5
split-complementary
#A52EA2 #67A52E #2EA56D
monochromatic
#451344 #752173 #A52EA2 #CB45C8 #D875D6

Accessibility & contrast

On white

5.98
#A52EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52EA2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA2#FFFFFF#000000##FFFFFF
##A52EA21.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#AB3F65
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a52ea2;
/* rgb */ color: rgb(165, 46, 162);
/* oklch */ color: oklch(52.7% 0.201 329.1);
Tailwind
colors: {
  custom: {
    50: '#c373be',
    500: '#a52ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea2;
$custom-light: #c373be;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea2",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 301.513,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52726,
    "c": 0.20072,
    "h": 329.1
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#A52EA2
secondary
#6FC071
accent
#E04C48
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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