#A52097#A52097

#A52097 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 333.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A52097
RGBrgb(165, 32, 151)
HSLhsl(306, 68%, 39%)
HSVhsv(306, 81%, 65%)
CMYKcmyk(0%, 80.6%, 8.5%, 35.3%)
CIE-LABlab(40.03, 63.71, -33.98)
CIE-LCHlch(40.03, 72.21, 331.92°)
OKLaboklab(51.05% 0.1841 -0.0934)
OKLCHoklch(51.05% 0.206 333.1)
XYZxyz(21.6196, 11.2686, 30.3086)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52097 #20A52E
analogous
#7020A5 #A52097 #A52054
triadic
#A52097 #97A520 #2097A5
tetradic
#A52097 #A57020 #20A52E #2054A5
square
#A52097 #A57020 #20A52E #2054A5
split-complementary
#A52097 #54A520 #20A570
monochromatic
#3E0C39 #721668 #A52097 #D62CC4 #E05FD2

Accessibility & contrast

On white

6.45
#A52097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52097
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52097#FFFFFF#000000##FFFFFF
##A520971.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#AD305B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52097;
/* rgb */ color: rgb(165, 32, 151);
/* oklch */ color: oklch(51.1% 0.206 333.1);
Tailwind
colors: {
  custom: {
    50: '#c46db6',
    500: '#a52097',
    950: '#000000',
  },
}
SCSS
$custom: #a52097;
$custom-light: #c46db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a52097",
  "rgb": {
    "r": 165,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 306.316,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.20646,
    "h": 333.1
  },
  "luminance": 0.11267
}

Semantic roles & 50–950 ramp

primary
#A52097
secondary
#5CC567
accent
#EA503D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52097

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

Preview Lab → · Contrast checker → · Palette generator →

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