#A52EAF#A52EAF

#A52EAF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.211 H 324.6°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A52EAF
RGBrgb(165, 46, 175)
HSLhsl(295, 58%, 43%)
HSVhsv(295, 74%, 69%)
CMYKcmyk(5.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(42.84, 63.43, -43.90)
CIE-LCHlch(42.84, 77.14, 325.31°)
OKLaboklab(53.49% 0.172 -0.1223)
OKLCHoklch(53.49% 0.211 324.6)
XYZxyz(24.2313, 13.0500, 41.7917)
Luminance0.1305 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EAF #38AF2E
analogous
#642EAF #A52EAF #AF2E78
triadic
#A52EAF #AFA52E #2EAFA5
tetradic
#A52EAF #AF642E #38AF2E #2E78AF
square
#A52EAF #AF642E #38AF2E #2E78AF
split-complementary
#A52EAF #78AF2E #2EAF64
monochromatic
#4A154E #77217F #A52EAF #C54BD0 #D57BDC

Accessibility & contrast

On white

5.82
#A52EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A52EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EAF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EAF#FFFFFF#000000##FFFFFF
##A52EAF1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#A8456C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a52eaf;
/* rgb */ color: rgb(165, 46, 175);
/* oklch */ color: oklch(53.5% 0.211 324.6);
Tailwind
colors: {
  custom: {
    50: '#c373c7',
    500: '#a52eaf',
    950: '#000000',
  },
}
SCSS
$custom: #a52eaf;
$custom-light: #c373c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52eaf",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 295.349,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.21105,
    "h": 324.6
  },
  "luminance": 0.13048
}

Semantic roles & 50–950 ramp

primary
#A52EAF
secondary
#7AC574
accent
#E24652
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A52EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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