#A52594#A52594

#A52594 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.200 H 334.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52594
RGBrgb(165, 37, 148)
HSLhsl(308, 63%, 40%)
HSVhsv(308, 78%, 65%)
CMYKcmyk(0%, 77.6%, 10.3%, 35.3%)
CIE-LABlab(40.35, 61.88, -31.66)
CIE-LCHlch(40.35, 69.51, 332.91°)
OKLaboklab(51.23% 0.18 -0.0867)
OKLCHoklch(51.23% 0.2 334.3)
XYZxyz(21.5241, 11.4625, 29.0901)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52594 #25A536
analogous
#7625A5 #A52594 #A52554
triadic
#A52594 #94A525 #2594A5
tetradic
#A52594 #A57625 #25A536 #2554A5
square
#A52594 #A57625 #25A536 #2554A5
split-complementary
#A52594 #54A525 #25A576
monochromatic
#410F3A #731A67 #A52594 #D235BD #DD67CD

Accessibility & contrast

On white

6.38
#A52594 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52594 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52594
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52594#FFFFFF#000000##FFFFFF
##A525941.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#536691
Tritanopia (blue-blind)
#AD325B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52594;
/* rgb */ color: rgb(165, 37, 148);
/* oklch */ color: oklch(51.2% 0.200 334.3);
Tailwind
colors: {
  custom: {
    50: '#c46fb4',
    500: '#a52594',
    950: '#000000',
  },
}
SCSS
$custom: #a52594;
$custom-light: #c46fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52594",
  "rgb": {
    "r": 165,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 307.969,
    "s": 63.366,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51229,
    "c": 0.19976,
    "h": 334.3
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#A52594
secondary
#63C370
accent
#E65741
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52594

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

Preview Lab → · Contrast checker → · Palette generator →

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