#A82197#A82197

#A82197 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.207 H 334.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A82197
RGBrgb(168, 33, 151)
HSLhsl(308, 67%, 39%)
HSVhsv(308, 80%, 66%)
CMYKcmyk(0%, 80.4%, 10.1%, 34.1%)
CIE-LABlab(40.65, 64.09, -32.97)
CIE-LCHlch(40.65, 72.07, 332.78°)
OKLaboklab(51.6% 0.1863 -0.0904)
OKLCHoklch(51.6% 0.207 334.1)
XYZxyz(22.2785, 11.6489, 30.3473)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A82197 #21A832
analogous
#7621A8 #A82197 #A82153
triadic
#A82197 #97A821 #2197A8
tetradic
#A82197 #A87621 #21A832 #2153A8
square
#A82197 #A87621 #21A832 #2153A8
split-complementary
#A82197 #53A821 #21A876
monochromatic
#420D3B #751769 #A82197 #D630C1 #E063D1

Accessibility & contrast

On white

6.31
#A82197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A82197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A82197
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A82197#FFFFFF#000000##FFFFFF
##A821971.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a82197;
/* rgb */ color: rgb(168, 33, 151);
/* oklch */ color: oklch(51.6% 0.207 334.1);
Tailwind
colors: {
  custom: {
    50: '#c66eb6',
    500: '#a82197',
    950: '#000000',
  },
}
SCSS
$custom: #a82197;
$custom-light: #c66eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a82197",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 307.556,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.2071,
    "h": 334.1
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#A82197
secondary
#5FC56C
accent
#EA533E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A82197

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

Preview Lab → · Contrast checker → · Palette generator →

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