#A82796#A82796

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

Color values

HEX#A82796
RGBrgb(168, 39, 150)
HSLhsl(308, 62%, 41%)
HSVhsv(308, 77%, 66%)
CMYKcmyk(0%, 76.8%, 10.7%, 34.1%)
CIE-LABlab(41.18, 62.27, -31.52)
CIE-LCHlch(41.18, 69.79, 333.15°)
OKLaboklab(51.96% 0.1813 -0.0863)
OKLCHoklch(51.96% 0.201 334.5)
XYZxyz(22.3792, 11.9799, 29.9820)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82796 #27A839
analogous
#7927A8 #A82796 #A82755
triadic
#A82796 #96A827 #2796A8
tetradic
#A82796 #A87927 #27A839 #2755A8
square
#A82796 #A87927 #27A839 #2755A8
split-complementary
#A82796 #55A827 #27A879
monochromatic
#45103D #761B6A #A82796 #D13BBC #DD6CCD

Accessibility & contrast

On white

6.18
#A82796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A82796
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82796#FFFFFF#000000##FFFFFF
##A827961.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255599
Deuteranopia (green-blind)
#556893
Tritanopia (blue-blind)
#B0335D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a82796;
/* rgb */ color: rgb(168, 39, 150);
/* oklch */ color: oklch(52.0% 0.201 334.5);
Tailwind
colors: {
  custom: {
    50: '#c670b5',
    500: '#a82796',
    950: '#000000',
  },
}
SCSS
$custom: #a82796;
$custom-light: #c670b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a82796",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 308.372,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.20081,
    "h": 334.5
  },
  "luminance": 0.11978
}

Semantic roles & 50–950 ramp

primary
#A82796
secondary
#67C374
accent
#E55942
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82796

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

Preview Lab → · Contrast checker → · Palette generator →

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