#A7219C#A7219C

#A7219C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.210 H 332.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A7219C
RGBrgb(167, 33, 156)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80.2%, 6.6%, 34.5%)
CIE-LABlab(40.74, 64.63, -35.86)
CIE-LCHlch(40.74, 73.91, 330.98°)
OKLaboklab(51.72% 0.1855 -0.0988)
OKLCHoklch(51.72% 0.21 332)
XYZxyz(22.4810, 11.7054, 32.5214)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219C #21A72C
analogous
#6F21A7 #A7219C #A72159
triadic
#A7219C #9CA721 #219CA7
tetradic
#A7219C #A76F21 #21A72C #2159A7
square
#A7219C #A76F21 #21A72C #2159A7
split-complementary
#A7219C #59A721 #21A76F
monochromatic
#410D3D #74176C #A7219C #D62FC8 #E062D6

Accessibility & contrast

On white

6.29
#A7219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A7219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7219C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7219C#FFFFFF#000000##FFFFFF
##A7219C1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#506699
Tritanopia (blue-blind)
#AE335F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219c;
/* rgb */ color: rgb(167, 33, 156);
/* oklch */ color: oklch(51.7% 0.210 332.0);
Tailwind
colors: {
  custom: {
    50: '#c56eb9',
    500: '#a7219c',
    950: '#000000',
  },
}
SCSS
$custom: #a7219c;
$custom-light: #c56eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219c",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 304.925,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51716,
    "c": 0.21012,
    "h": 332
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#A7219C
secondary
#5FC567
accent
#EA4C3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7219C

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

Preview Lab → · Contrast checker → · Palette generator →

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