#A8219C#A8219C

#A8219C is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.211 H 332.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A8219C
RGBrgb(168, 33, 156)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 66%)
CMYKcmyk(0%, 80.4%, 7.1%, 34.1%)
CIE-LABlab(40.92, 64.84, -35.57)
CIE-LCHlch(40.92, 73.95, 331.25°)
OKLaboklab(51.88% 0.1865 -0.0979)
OKLCHoklch(51.88% 0.211 332.3)
XYZxyz(22.6931, 11.8148, 32.5313)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219C #21A82D
analogous
#7021A8 #A8219C #A82159
triadic
#A8219C #9CA821 #219CA8
tetradic
#A8219C #A87021 #21A82D #2159A8
square
#A8219C #A87021 #21A82D #2159A8
split-complementary
#A8219C #59A821 #21A870
monochromatic
#420D3D #75176D #A8219C #D630C8 #E063D5

Accessibility & contrast

On white

6.25
#A8219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A8219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8219C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219C#FFFFFF#000000##FFFFFF
##A8219C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15559F
Deuteranopia (green-blind)
#506799
Tritanopia (blue-blind)
#AF335F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a8219c;
/* rgb */ color: rgb(168, 33, 156);
/* oklch */ color: oklch(51.9% 0.211 332.3);
Tailwind
colors: {
  custom: {
    50: '#c66eb9',
    500: '#a8219c',
    950: '#000000',
  },
}
SCSS
$custom: #a8219c;
$custom-light: #c66eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219c",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 305.333,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.2106,
    "h": 332.3
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#A8219C
secondary
#5FC568
accent
#EA4D3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A8219C

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

Preview Lab → · Contrast checker → · Palette generator →

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