#A82797#A82797

#A82797 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.202 H 334.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A82797
RGBrgb(168, 39, 151)
HSLhsl(308, 62%, 41%)
HSVhsv(308, 77%, 66%)
CMYKcmyk(0%, 76.8%, 10.1%, 34.1%)
CIE-LABlab(41.24, 62.42, -32.05)
CIE-LCHlch(41.24, 70.16, 332.82°)
OKLaboklab(52.02% 0.1814 -0.0878)
OKLCHoklch(52.02% 0.202 334.2)
XYZxyz(22.4601, 12.0122, 30.4078)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82797 #27A838
analogous
#7827A8 #A82797 #A82756
triadic
#A82797 #97A827 #2797A8
tetradic
#A82797 #A87827 #27A838 #2756A8
square
#A82797 #A87827 #27A838 #2756A8
split-complementary
#A82797 #56A827 #27A878
monochromatic
#45103E #761B6A #A82797 #D13BBE #DD6CCE

Accessibility & contrast

On white

6.17
#A82797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A82797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82797
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82797#FFFFFF#000000##FFFFFF
##A827971.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#B0345D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a82797;
/* rgb */ color: rgb(168, 39, 151);
/* oklch */ color: oklch(52.0% 0.202 334.2);
Tailwind
colors: {
  custom: {
    50: '#c670b6',
    500: '#a82797',
    950: '#000000',
  },
}
SCSS
$custom: #a82797;
$custom-light: #c670b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82797",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 151
  },
  "hsl": {
    "h": 307.907,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52015,
    "c": 0.20152,
    "h": 334.2
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#A82797
secondary
#67C373
accent
#E55842
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82797

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

Preview Lab → · Contrast checker → · Palette generator →

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