#A52894#A52894

#A52894 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.197 H 334.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#A52894
RGBrgb(165, 40, 148)
HSLhsl(308, 61%, 40%)
HSVhsv(308, 76%, 65%)
CMYKcmyk(0%, 75.8%, 10.3%, 35.3%)
CIE-LABlab(40.67, 60.98, -31.16)
CIE-LCHlch(40.67, 68.48, 332.93°)
OKLaboklab(51.46% 0.1773 -0.0853)
OKLCHoklch(51.46% 0.197 334.3)
XYZxyz(21.6214, 11.6569, 29.1225)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52894 #28A539
analogous
#7728A5 #A52894 #A52855
triadic
#A52894 #94A528 #2894A5
tetradic
#A52894 #A57728 #28A539 #2855A5
square
#A52894 #A57728 #28A539 #2855A5
split-complementary
#A52894 #55A528 #28A577
monochromatic
#42103C #741C68 #A52894 #CF3BBB #DB6CCC

Accessibility & contrast

On white

6.30
#A52894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A52894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52894
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52894#FFFFFF#000000##FFFFFF
##A528941.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#AD345C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52894;
/* rgb */ color: rgb(165, 40, 148);
/* oklch */ color: oklch(51.5% 0.197 334.3);
Tailwind
colors: {
  custom: {
    50: '#c370b4',
    500: '#a52894',
    950: '#000000',
  },
}
SCSS
$custom: #a52894;
$custom-light: #c370b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52894",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 308.16,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51457,
    "c": 0.19675,
    "h": 334.3
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#A52894
secondary
#67C273
accent
#E45A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52894

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

Preview Lab → · Contrast checker → · Palette generator →

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