#A82198#A82198

#A82198 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.208 H 333.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A82198
RGBrgb(168, 33, 152)
HSLhsl(307, 67%, 39%)
HSVhsv(307, 80%, 66%)
CMYKcmyk(0%, 80.4%, 9.5%, 34.1%)
CIE-LABlab(40.71, 64.24, -33.49)
CIE-LCHlch(40.71, 72.45, 332.47°)
OKLaboklab(51.65% 0.1864 -0.0919)
OKLCHoklch(51.65% 0.208 333.7)
XYZxyz(22.3600, 11.6815, 30.7768)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82198 #21A831
analogous
#7521A8 #A82198 #A82155
triadic
#A82198 #98A821 #2198A8
tetradic
#A82198 #A87521 #21A831 #2155A8
square
#A82198 #A87521 #21A831 #2155A8
split-complementary
#A82198 #55A821 #21A875
monochromatic
#420D3B #75176A #A82198 #D630C3 #E063D2

Accessibility & contrast

On white

6.29
#A82198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A82198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82198
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82198#FFFFFF#000000##FFFFFF
##A821981.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#B0305C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a82198;
/* rgb */ color: rgb(168, 33, 152);
/* oklch */ color: oklch(51.7% 0.208 333.7);
Tailwind
colors: {
  custom: {
    50: '#c66eb7',
    500: '#a82198',
    950: '#000000',
  },
}
SCSS
$custom: #a82198;
$custom-light: #c66eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a82198",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 307.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.2078,
    "h": 333.7
  },
  "luminance": 0.1168
}

Semantic roles & 50–950 ramp

primary
#A82198
secondary
#5FC56B
accent
#EA523E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82198

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

Preview Lab → · Contrast checker → · Palette generator →

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