#A7219F#A7219F

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

Color values

HEX#A7219F
RGBrgb(167, 33, 159)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 65%)
CMYKcmyk(0%, 80.2%, 4.8%, 34.5%)
CIE-LABlab(40.91, 65.09, -37.40)
CIE-LCHlch(40.91, 75.07, 330.12°)
OKLaboklab(51.89% 0.1855 -0.1033)
OKLCHoklch(51.89% 0.212 330.9)
XYZxyz(22.7382, 11.8083, 33.8758)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219F #21A729
analogous
#6C21A7 #A7219F #A7215C
triadic
#A7219F #9FA721 #219FA7
tetradic
#A7219F #A76C21 #21A729 #215CA7
square
#A7219F #A76C21 #21A729 #215CA7
split-complementary
#A7219F #5CA721 #21A76C
monochromatic
#410D3E #74176E #A7219F #D62FCC #E062D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7219F#FFFFFF#000000##FFFFFF
##A7219F1.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)
#0C55A2
Deuteranopia (green-blind)
#4E679C
Tritanopia (blue-blind)
#AE3560
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219f;
/* rgb */ color: rgb(167, 33, 159);
/* oklch */ color: oklch(51.9% 0.212 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56ebc',
    500: '#a7219f',
    950: '#000000',
  },
}
SCSS
$custom: #a7219f;
$custom-light: #c56ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219f",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 159
  },
  "hsl": {
    "h": 303.582,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51888,
    "c": 0.21227,
    "h": 330.9
  },
  "luminance": 0.11806
}

Semantic roles & 50–950 ramp

primary
#A7219F
secondary
#5FC565
accent
#EA483E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7219F

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

Preview Lab → · Contrast checker → · Palette generator →

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