#A52699#A52699

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

Color values

HEX#A52699
RGBrgb(165, 38, 153)
HSLhsl(306, 63%, 40%)
HSVhsv(306, 77%, 65%)
CMYKcmyk(0%, 77%, 7.3%, 35.3%)
CIE-LABlab(40.71, 62.35, -34.11)
CIE-LCHlch(40.71, 71.07, 331.32°)
OKLaboklab(51.58% 0.1793 -0.0938)
OKLCHoklch(51.58% 0.202 332.4)
XYZxyz(21.9600, 11.6873, 31.2301)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52699 #26A532
analogous
#7126A5 #A52699 #A5265A
triadic
#A52699 #99A526 #2699A5
tetradic
#A52699 #A57126 #26A532 #265AA5
square
#A52699 #A57126 #26A532 #265AA5
split-complementary
#A52699 #5AA526 #26A571
monochromatic
#420F3D #731B6B #A52699 #D137C2 #DC69D2

Accessibility & contrast

On white

6.29
#A52699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A52699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52699
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52699#FFFFFF#000000##FFFFFF
##A526991.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#AC355E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52699;
/* rgb */ color: rgb(165, 38, 153);
/* oklch */ color: oklch(51.6% 0.202 332.4);
Tailwind
colors: {
  custom: {
    50: '#c36fb7',
    500: '#a52699',
    950: '#000000',
  },
}
SCSS
$custom: #a52699;
$custom-light: #c36fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a52699",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 305.669,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51577,
    "c": 0.20237,
    "h": 332.4
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#A52699
secondary
#64C36D
accent
#E65242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52699

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

Preview Lab → · Contrast checker → · Palette generator →

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