#A7319E#A7319E

#A7319E is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.195 H 331.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A7319E
RGBrgb(167, 49, 158)
HSLhsl(305, 55%, 42%)
HSVhsv(305, 71%, 65%)
CMYKcmyk(0%, 70.7%, 5.4%, 34.5%)
CIE-LABlab(42.59, 59.98, -34.15)
CIE-LCHlch(42.59, 69.02, 330.35°)
OKLaboklab(53.07% 0.1711 -0.094)
OKLCHoklch(53.07% 0.195 331.2)
XYZxyz(23.2062, 12.8826, 33.6055)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7319E #31A73A
analogous
#7531A7 #A7319E #A73163
triadic
#A7319E #9EA731 #319EA7
tetradic
#A7319E #A77531 #31A73A #3163A7
square
#A7319E #A77531 #31A73A #3163A7
split-complementary
#A7319E #63A731 #31A775
monochromatic
#481544 #782371 #A7319E #CA4BC0 #D87AD1

Accessibility & contrast

On white

5.87
#A7319E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A7319E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7319E
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7319E#FFFFFF#000000##FFFFFF
##A7319E1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285AA1
Deuteranopia (green-blind)
#556A9B
Tritanopia (blue-blind)
#AE3E64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a7319e;
/* rgb */ color: rgb(167, 49, 158);
/* oklch */ color: oklch(53.1% 0.195 331.2);
Tailwind
colors: {
  custom: {
    50: '#c574bb',
    500: '#a7319e',
    950: '#000000',
  },
}
SCSS
$custom: #a7319e;
$custom-light: #c574bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7319e",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 158
  },
  "hsl": {
    "h": 304.576,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.19523,
    "h": 331.2
  },
  "luminance": 0.12881
}

Semantic roles & 50–950 ramp

primary
#A7319E
secondary
#73C179
accent
#DE554A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A7319E

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

Preview Lab → · Contrast checker → · Palette generator →

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