#A52793#A52793

#A52793 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.197 H 334.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A52793
RGBrgb(165, 39, 147)
HSLhsl(309, 62%, 40%)
HSVhsv(309, 76%, 65%)
CMYKcmyk(0%, 76.4%, 10.9%, 35.3%)
CIE-LABlab(40.51, 61.13, -30.80)
CIE-LCHlch(40.51, 68.46, 333.26°)
OKLaboklab(51.33% 0.1781 -0.0843)
OKLCHoklch(51.33% 0.197 334.7)
XYZxyz(21.5093, 11.5589, 28.6964)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52793 #27A539
analogous
#7827A5 #A52793 #A52754
triadic
#A52793 #93A527 #2793A5
tetradic
#A52793 #A57827 #27A539 #2754A5
square
#A52793 #A57827 #27A539 #2754A5
split-complementary
#A52793 #54A527 #27A578
monochromatic
#42103B #741B67 #A52793 #D039BB #DC6ACC

Accessibility & contrast

On white

6.34
#A52793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A52793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52793
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52793#FFFFFF#000000##FFFFFF
##A527931.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52793;
/* rgb */ color: rgb(165, 39, 147);
/* oklch */ color: oklch(51.3% 0.197 334.7);
Tailwind
colors: {
  custom: {
    50: '#c36fb3',
    500: '#a52793',
    950: '#000000',
  },
}
SCSS
$custom: #a52793;
$custom-light: #c36fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52793",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 308.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.19706,
    "h": 334.7
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#A52793
secondary
#66C273
accent
#E55A43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52793

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

Preview Lab → · Contrast checker → · Palette generator →

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