#A52697#A52697

#A52697 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.201 H 333.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A52697
RGBrgb(165, 38, 151)
HSLhsl(307, 63%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 77%, 8.5%, 35.3%)
CIE-LABlab(40.61, 62.04, -33.07)
CIE-LCHlch(40.61, 70.30, 331.94°)
OKLaboklab(51.47% 0.1792 -0.0908)
OKLCHoklch(51.47% 0.201 333.1)
XYZxyz(21.7962, 11.6218, 30.3674)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52697 #26A534
analogous
#7326A5 #A52697 #A52658
triadic
#A52697 #97A526 #2697A5
tetradic
#A52697 #A57326 #26A534 #2658A5
square
#A52697 #A57326 #26A534 #2658A5
split-complementary
#A52697 #58A526 #26A573
monochromatic
#420F3C #731B69 #A52697 #D137C0 #DC69D0

Accessibility & contrast

On white

6.32
#A52697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A52697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52697
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52697#FFFFFF#000000##FFFFFF
##A526971.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#AD345D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52697;
/* rgb */ color: rgb(165, 38, 151);
/* oklch */ color: oklch(51.5% 0.201 333.1);
Tailwind
colors: {
  custom: {
    50: '#c36fb6',
    500: '#a52697',
    950: '#000000',
  },
}
SCSS
$custom: #a52697;
$custom-light: #c36fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52697",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 306.614,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.20092,
    "h": 333.1
  },
  "luminance": 0.1162
}

Semantic roles & 50–950 ramp

primary
#A52697
secondary
#64C36F
accent
#E65442
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52697

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

Preview Lab → · Contrast checker → · Palette generator →

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