#A7219D#A7219D

#A7219D is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.211 H 331.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A7219D
RGBrgb(167, 33, 157)
HSLhsl(304, 67%, 39%)
HSVhsv(304, 80%, 65%)
CMYKcmyk(0%, 80.2%, 6%, 34.5%)
CIE-LABlab(40.80, 64.78, -36.37)
CIE-LCHlch(40.80, 74.29, 330.69°)
OKLaboklab(51.77% 0.1855 -0.1003)
OKLCHoklch(51.77% 0.211 331.6)
XYZxyz(22.5660, 11.7394, 32.9692)
Luminance0.1174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219D #21A72B
analogous
#6E21A7 #A7219D #A7215A
triadic
#A7219D #9DA721 #219DA7
tetradic
#A7219D #A76E21 #21A72B #215AA7
square
#A7219D #A76E21 #21A72B #215AA7
split-complementary
#A7219D #5AA721 #21A76E
monochromatic
#410D3D #74176D #A7219D #D62FCA #E062D7

Accessibility & contrast

On white

6.27
#A7219D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7219D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7219D#FFFFFF#000000##FFFFFF
##A7219D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#4F679A
Tritanopia (blue-blind)
#AE335F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219d;
/* rgb */ color: rgb(167, 33, 157);
/* oklch */ color: oklch(51.8% 0.211 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56eba',
    500: '#a7219d',
    950: '#000000',
  },
}
SCSS
$custom: #a7219d;
$custom-light: #c56eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219d",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 157
  },
  "hsl": {
    "h": 304.478,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51773,
    "c": 0.21084,
    "h": 331.6
  },
  "luminance": 0.11738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7219D

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

Preview Lab → · Contrast checker → · Palette generator →

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