#A8219E#A8219E

#A8219E is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.212 H 331.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A8219E
RGBrgb(168, 33, 158)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 66%)
CMYKcmyk(0%, 80.4%, 6%, 34.1%)
CIE-LABlab(41.03, 65.14, -36.60)
CIE-LCHlch(41.03, 74.72, 330.67°)
OKLaboklab(51.99% 0.1865 -0.1009)
OKLCHoklch(51.99% 0.212 331.6)
XYZxyz(22.8639, 11.8831, 33.4306)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219E #21A82B
analogous
#6E21A8 #A8219E #A8215B
triadic
#A8219E #9EA821 #219EA8
tetradic
#A8219E #A86E21 #21A82B #215BA8
square
#A8219E #A86E21 #21A82B #215BA8
split-complementary
#A8219E #5BA821 #21A86E
monochromatic
#420D3E #75176E #A8219E #D630CA #E063D7

Accessibility & contrast

On white

6.22
#A8219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A8219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8219E
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219E#FFFFFF#000000##FFFFFF
##A8219E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1155A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#AF3460
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8219e;
/* rgb */ color: rgb(168, 33, 158);
/* oklch */ color: oklch(52.0% 0.212 331.6);
Tailwind
colors: {
  custom: {
    50: '#c66ebb',
    500: '#a8219e',
    950: '#000000',
  },
}
SCSS
$custom: #a8219e;
$custom-light: #c66ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219e",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 304.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.21202,
    "h": 331.6
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#A8219E
secondary
#5FC567
accent
#EA4B3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8219E

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

Preview Lab → · Contrast checker → · Palette generator →

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