#A82798#A82798

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

Color values

HEX#A82798
RGBrgb(168, 39, 152)
HSLhsl(307, 62%, 41%)
HSVhsv(307, 77%, 66%)
CMYKcmyk(0%, 76.8%, 9.5%, 34.1%)
CIE-LABlab(41.29, 62.57, -32.57)
CIE-LCHlch(41.29, 70.54, 332.50°)
OKLaboklab(52.07% 0.1814 -0.0893)
OKLCHoklch(52.07% 0.202 333.8)
XYZxyz(22.5417, 12.0448, 30.8374)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82798 #27A837
analogous
#7727A8 #A82798 #A82757
triadic
#A82798 #98A827 #2798A8
tetradic
#A82798 #A87727 #27A837 #2757A8
square
#A82798 #A87727 #27A837 #2757A8
split-complementary
#A82798 #57A827 #27A877
monochromatic
#45103E #761B6B #A82798 #D13BBF #DD6CCF

Accessibility & contrast

On white

6.16
#A82798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A82798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82798
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82798#FFFFFF#000000##FFFFFF
##A827981.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23559B
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#B0345E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a82798;
/* rgb */ color: rgb(168, 39, 152);
/* oklch */ color: oklch(52.1% 0.202 333.8);
Tailwind
colors: {
  custom: {
    50: '#c670b6',
    500: '#a82798',
    950: '#000000',
  },
}
SCSS
$custom: #a82798;
$custom-light: #c670b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82798",
  "rgb": {
    "r": 168,
    "g": 39,
    "b": 152
  },
  "hsl": {
    "h": 307.442,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52069,
    "c": 0.20222,
    "h": 333.8
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A82798

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

Preview Lab → · Contrast checker → · Palette generator →

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