#A52EB6#A52EB6

#A52EB6 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.9% C 0.217 H 322.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A52EB6
RGBrgb(165, 46, 182)
HSLhsl(293, 60%, 45%)
HSVhsv(293, 75%, 71%)
CMYKcmyk(9.3%, 74.7%, 0%, 28.6%)
CIE-LABlab(43.26, 64.66, -47.36)
CIE-LCHlch(43.26, 80.15, 323.78°)
OKLaboklab(53.93% 0.1716 -0.1324)
OKLCHoklch(53.93% 0.217 322.3)
XYZxyz(24.9367, 13.3322, 45.5068)
Luminance0.1333 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EB6 #3FB62E
analogous
#612EB6 #A52EB6 #B62E83
triadic
#A52EB6 #B6A52E #2EB6A5
tetradic
#A52EB6 #B6612E #3FB62E #2E83B6
square
#A52EB6 #B6612E #3FB62E #2E83B6
split-complementary
#A52EB6 #83B62E #2EB661
monochromatic
#4C1554 #792285 #A52EB6 #C24FD2 #D380DF

Accessibility & contrast

On white

5.73
#A52EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52EB6
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EB6#FFFFFF#000000##FFFFFF
##A52EB61.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#426BB3
Tritanopia (blue-blind)
#A74870
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a52eb6;
/* rgb */ color: rgb(165, 46, 182);
/* oklch */ color: oklch(53.9% 0.217 322.3);
Tailwind
colors: {
  custom: {
    50: '#c473cc',
    500: '#a52eb6',
    950: '#000000',
  },
}
SCSS
$custom: #a52eb6;
$custom-light: #c473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eb6",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 292.5,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.21673,
    "h": 322.3
  },
  "luminance": 0.13331
}

Semantic roles & 50–950 ramp

primary
#A52EB6
secondary
#82C878
accent
#E34559
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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