#A8219F#A8219F

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

Color values

HEX#A8219F
RGBrgb(168, 33, 159)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 66%)
CMYKcmyk(0%, 80.4%, 5.4%, 34.1%)
CIE-LABlab(41.09, 65.30, -37.11)
CIE-LCHlch(41.09, 75.11, 330.39°)
OKLaboklab(52.05% 0.1865 -0.1024)
OKLCHoklch(52.05% 0.213 331.2)
XYZxyz(22.9503, 11.9177, 33.8858)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8219F #21A82A
analogous
#6E21A8 #A8219F #A8215C
triadic
#A8219F #9FA821 #219FA8
tetradic
#A8219F #A86E21 #21A82A #215CA8
square
#A8219F #A86E21 #21A82A #215CA8
split-complementary
#A8219F #5CA821 #21A86E
monochromatic
#420D3E #75176F #A8219F #D630CB #E063D8

Accessibility & contrast

On white

6.21
#A8219F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8219F
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8219F#FFFFFF#000000##FFFFFF
##A8219F1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AF3460
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8219f;
/* rgb */ color: rgb(168, 33, 159);
/* oklch */ color: oklch(52.0% 0.213 331.2);
Tailwind
colors: {
  custom: {
    50: '#c66ebc',
    500: '#a8219f',
    950: '#000000',
  },
}
SCSS
$custom: #a8219f;
$custom-light: #c66ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8219f",
  "rgb": {
    "r": 168,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 304,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.21274,
    "h": 331.2
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#A8219F
secondary
#5FC566
accent
#EA493E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A8219F

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

Preview Lab → · Contrast checker → · Palette generator →

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