#A52698#A52698

#A52698 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.202 H 332.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A52698
RGBrgb(165, 38, 152)
HSLhsl(306, 63%, 40%)
HSVhsv(306, 77%, 65%)
CMYKcmyk(0%, 77%, 7.9%, 35.3%)
CIE-LABlab(40.66, 62.20, -33.59)
CIE-LCHlch(40.66, 70.69, 331.63°)
OKLaboklab(51.52% 0.1793 -0.0923)
OKLCHoklch(51.52% 0.202 332.8)
XYZxyz(21.8778, 11.6544, 30.7970)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52698 #26A533
analogous
#7326A5 #A52698 #A52658
triadic
#A52698 #98A526 #2698A5
tetradic
#A52698 #A57326 #26A533 #2658A5
square
#A52698 #A57326 #26A533 #2658A5
split-complementary
#A52698 #58A526 #26A573
monochromatic
#420F3C #731B6A #A52698 #D137C1 #DC69D1

Accessibility & contrast

On white

6.31
#A52698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52698
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52698#FFFFFF#000000##FFFFFF
##A526981.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F549B
Deuteranopia (green-blind)
#516695
Tritanopia (blue-blind)
#AC345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52698;
/* rgb */ color: rgb(165, 38, 152);
/* oklch */ color: oklch(51.5% 0.202 332.8);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a52698',
    950: '#000000',
  },
}
SCSS
$custom: #a52698;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52698",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 306.142,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.20165,
    "h": 332.8
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#A52698
secondary
#64C36E
accent
#E65342
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52698

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

Preview Lab → · Contrast checker → · Palette generator →

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