#A82498#A82498

#A82498 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 333.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A82498
RGBrgb(168, 36, 152)
HSLhsl(307, 65%, 40%)
HSVhsv(307, 79%, 66%)
CMYKcmyk(0%, 78.6%, 9.5%, 34.1%)
CIE-LABlab(40.99, 63.43, -33.05)
CIE-LCHlch(40.99, 71.52, 332.48°)
OKLaboklab(51.85% 0.184 -0.0907)
OKLCHoklch(51.85% 0.205 333.8)
XYZxyz(22.4470, 11.8556, 30.8058)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82498 #24A834
analogous
#7624A8 #A82498 #A82456
triadic
#A82498 #98A824 #2498A8
tetradic
#A82498 #A87624 #24A834 #2456A8
square
#A82498 #A87624 #24A834 #2456A8
split-complementary
#A82498 #56A824 #24A876
monochromatic
#430E3D #76196A #A82498 #D435C1 #DF68D0

Accessibility & contrast

On white

6.23
#A82498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A82498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82498
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82498#FFFFFF#000000##FFFFFF
##A824981.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#B0325D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a82498;
/* rgb */ color: rgb(168, 36, 152);
/* oklch */ color: oklch(51.9% 0.205 333.8);
Tailwind
colors: {
  custom: {
    50: '#c66fb7',
    500: '#a82498',
    950: '#000000',
  },
}
SCSS
$custom: #a82498;
$custom-light: #c66fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a82498",
  "rgb": {
    "r": 168,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 307.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.2051,
    "h": 333.8
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#A82498
secondary
#63C46F
accent
#E85440
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82498

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

Preview Lab → · Contrast checker → · Palette generator →

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