#A52FB5#A52FB5

#A52FB5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.215 H 322.6°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A52FB5
RGBrgb(165, 47, 181)
HSLhsl(293, 59%, 45%)
HSVhsv(293, 74%, 71%)
CMYKcmyk(8.8%, 74%, 0%, 29%)
CIE-LABlab(43.32, 64.15, -46.68)
CIE-LCHlch(43.32, 79.33, 323.95°)
OKLaboklab(53.95% 0.1707 -0.1304)
OKLCHoklch(53.95% 0.215 322.6)
XYZxyz(24.8732, 13.3700, 44.9776)
Luminance0.1337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52FB5 #3FB52F
analogous
#622FB5 #A52FB5 #B52F82
triadic
#A52FB5 #B5A52F #2FB5A5
tetradic
#A52FB5 #B5622F #3FB52F #2F82B5
square
#A52FB5 #B5622F #3FB52F #2F82B5
split-complementary
#A52FB5 #82B52F #2FB562
monochromatic
#4C1654 #792284 #A52FB5 #C250D1 #D380DE

Accessibility & contrast

On white

5.72
#A52FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A52FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52FB5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52FB5#FFFFFF#000000##FFFFFF
##A52FB51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#A74870
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52fb5;
/* rgb */ color: rgb(165, 47, 181);
/* oklch */ color: oklch(53.9% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#c474cc',
    500: '#a52fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a52fb5;
$custom-light: #c474cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52fb5",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 292.836,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53949,
    "c": 0.21486,
    "h": 322.6
  },
  "luminance": 0.13369
}

Semantic roles & 50–950 ramp

primary
#A52FB5
secondary
#82C779
accent
#E24658
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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