#A7219A#A7219A

#A7219A is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.209 H 332.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A7219A
RGBrgb(167, 33, 154)
HSLhsl(306, 67%, 39%)
HSVhsv(306, 80%, 65%)
CMYKcmyk(0%, 80.2%, 7.8%, 34.5%)
CIE-LABlab(40.64, 64.33, -34.82)
CIE-LCHlch(40.64, 73.15, 331.57°)
OKLaboklab(51.6% 0.1854 -0.0958)
OKLCHoklch(51.6% 0.209 332.7)
XYZxyz(22.3131, 11.6382, 31.6368)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219A #21A72E
analogous
#7121A7 #A7219A #A72157
triadic
#A7219A #9AA721 #219AA7
tetradic
#A7219A #A77121 #21A72E #2157A7
square
#A7219A #A77121 #21A72E #2157A7
split-complementary
#A7219A #57A721 #21A771
monochromatic
#410D3C #74176B #A7219A #D62FC6 #E062D4

Accessibility & contrast

On white

6.31
#A7219A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A7219A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7219A
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7219A#FFFFFF#000000##FFFFFF
##A7219A1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#516697
Tritanopia (blue-blind)
#AF325D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219a;
/* rgb */ color: rgb(167, 33, 154);
/* oklch */ color: oklch(51.6% 0.209 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56eb8',
    500: '#a7219a',
    950: '#000000',
  },
}
SCSS
$custom: #a7219a;
$custom-light: #c56eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219a",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 305.821,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.2087,
    "h": 332.7
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#A7219A
secondary
#5FC569
accent
#EA4F3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7219A

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

Preview Lab → · Contrast checker → · Palette generator →

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