#A8219A#A8219A

#A8219A is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.209 H 333.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A8219A
RGBrgb(168, 33, 154)
HSLhsl(306, 67%, 39%)
HSVhsv(306, 80%, 66%)
CMYKcmyk(0%, 80.4%, 8.3%, 34.1%)
CIE-LABlab(40.81, 64.54, -34.53)
CIE-LCHlch(40.81, 73.20, 331.85°)
OKLaboklab(51.76% 0.1864 -0.0949)
OKLCHoklch(51.76% 0.209 333)
XYZxyz(22.5252, 11.7476, 31.6468)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219A #21A82F
analogous
#7321A8 #A8219A #A82157
triadic
#A8219A #9AA821 #219AA8
tetradic
#A8219A #A87321 #21A82F #2157A8
square
#A8219A #A87321 #21A82F #2157A8
split-complementary
#A8219A #57A821 #21A873
monochromatic
#420D3C #75176B #A8219A #D630C5 #E063D3

Accessibility & contrast

On white

6.27
#A8219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A8219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8219A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219A#FFFFFF#000000##FFFFFF
##A8219A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19549D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#B0315D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8219a;
/* rgb */ color: rgb(168, 33, 154);
/* oklch */ color: oklch(51.8% 0.209 333.0);
Tailwind
colors: {
  custom: {
    50: '#c66eb8',
    500: '#a8219a',
    950: '#000000',
  },
}
SCSS
$custom: #a8219a;
$custom-light: #c66eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219a",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 306.222,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51763,
    "c": 0.20919,
    "h": 333
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#A8219A
secondary
#5FC56A
accent
#EA503E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8219A

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

Preview Lab → · Contrast checker → · Palette generator →

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