#A7219E#A7219E

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

Color values

HEX#A7219E
RGBrgb(167, 33, 158)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 65%)
CMYKcmyk(0%, 80.2%, 5.4%, 34.5%)
CIE-LABlab(40.85, 64.94, -36.89)
CIE-LCHlch(40.85, 74.68, 330.40°)
OKLaboklab(51.83% 0.1855 -0.1018)
OKLCHoklch(51.83% 0.212 331.2)
XYZxyz(22.6518, 11.7737, 33.4207)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219E #21A72A
analogous
#6D21A7 #A7219E #A7215B
triadic
#A7219E #9EA721 #219EA7
tetradic
#A7219E #A76D21 #21A72A #215BA7
square
#A7219E #A76D21 #21A72A #215BA7
split-complementary
#A7219E #5BA721 #21A76D
monochromatic
#410D3D #74176E #A7219E #D62FCB #E062D8

Accessibility & contrast

On white

6.26
#A7219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7219E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7219E#FFFFFF#000000##FFFFFF
##A7219E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F55A1
Deuteranopia (green-blind)
#4E679B
Tritanopia (blue-blind)
#AE3460
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219e;
/* rgb */ color: rgb(167, 33, 158);
/* oklch */ color: oklch(51.8% 0.212 331.2);
Tailwind
colors: {
  custom: {
    50: '#c56ebb',
    500: '#a7219e',
    950: '#000000',
  },
}
SCSS
$custom: #a7219e;
$custom-light: #c56ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219e",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 304.03,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5183,
    "c": 0.21155,
    "h": 331.2
  },
  "luminance": 0.11772
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7219E

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

Preview Lab → · Contrast checker → · Palette generator →

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