#A7219B#A7219B

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

Color values

HEX#A7219B
RGBrgb(167, 33, 155)
HSLhsl(305, 67%, 39%)
HSVhsv(305, 80%, 65%)
CMYKcmyk(0%, 80.2%, 7.2%, 34.5%)
CIE-LABlab(40.69, 64.48, -35.34)
CIE-LCHlch(40.69, 73.53, 331.27°)
OKLaboklab(51.66% 0.1854 -0.0973)
OKLCHoklch(51.66% 0.209 332.3)
XYZxyz(22.3967, 11.6717, 32.0773)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7219B #21A72D
analogous
#7021A7 #A7219B #A72158
triadic
#A7219B #9BA721 #219BA7
tetradic
#A7219B #A77021 #21A72D #2158A7
square
#A7219B #A77021 #21A72D #2158A7
split-complementary
#A7219B #58A721 #21A770
monochromatic
#410D3C #74176C #A7219B #D62FC7 #E062D5

Accessibility & contrast

On white

6.30
#A7219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7219B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7219B#FFFFFF#000000##FFFFFF
##A7219B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#506698
Tritanopia (blue-blind)
#AE325E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7219b;
/* rgb */ color: rgb(167, 33, 155);
/* oklch */ color: oklch(51.7% 0.209 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56eb9',
    500: '#a7219b',
    950: '#000000',
  },
}
SCSS
$custom: #a7219b;
$custom-light: #c56eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7219b",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 305.373,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5166,
    "c": 0.20941,
    "h": 332.3
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#A7219B
secondary
#5FC568
accent
#EA4D3E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7219B

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

Preview Lab → · Contrast checker → · Palette generator →

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