#A52EA6#A52EA6

#A52EA6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 327.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A52EA6
RGBrgb(165, 46, 166)
HSLhsl(300, 57%, 42%)
HSVhsv(300, 72%, 65%)
CMYKcmyk(0.6%, 72.3%, 0%, 34.9%)
CIE-LABlab(42.32, 61.89, -39.38)
CIE-LCHlch(42.32, 73.35, 327.53°)
OKLaboklab(52.96% 0.1722 -0.1091)
OKLCHoklch(52.96% 0.204 327.6)
XYZxyz(23.3767, 12.7082, 37.2907)
Luminance0.1271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52EA6 #2FA62E
analogous
#692EA6 #A52EA6 #A62E6B
triadic
#A52EA6 #A6A52E #2EA6A5
tetradic
#A52EA6 #A6692E #2FA62E #2E6BA6
square
#A52EA6 #A6692E #2FA62E #2E6BA6
split-complementary
#A52EA6 #6BA62E #2EA669
monochromatic
#461346 #752176 #A52EA6 #CB46CC #D876D9

Accessibility & contrast

On white

5.93
#A52EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A52EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52EA6
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52EA6#FFFFFF#000000##FFFFFF
##A52EA61.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165AA9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#AA4167
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a52ea6;
/* rgb */ color: rgb(165, 46, 166);
/* oklch */ color: oklch(53.0% 0.204 327.6);
Tailwind
colors: {
  custom: {
    50: '#c373c1',
    500: '#a52ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a52ea6;
$custom-light: #c373c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52ea6",
  "rgb": {
    "r": 165,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 299.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52957,
    "c": 0.20386,
    "h": 327.6
  },
  "luminance": 0.12706
}

Semantic roles & 50–950 ramp

primary
#A52EA6
secondary
#70C16F
accent
#E04849
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A52EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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