#A7319C#A7319C

#A7319C is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.0% C 0.194 H 332.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A7319C
RGBrgb(167, 49, 156)
HSLhsl(306, 55%, 42%)
HSVhsv(306, 71%, 65%)
CMYKcmyk(0%, 70.7%, 6.6%, 34.5%)
CIE-LABlab(42.48, 59.66, -33.11)
CIE-LCHlch(42.48, 68.23, 330.97°)
OKLaboklab(52.96% 0.171 -0.091)
OKLCHoklch(52.96% 0.194 332)
XYZxyz(23.0354, 12.8143, 32.7062)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7319C #31A73C
analogous
#7731A7 #A7319C #A73161
triadic
#A7319C #9CA731 #319CA7
tetradic
#A7319C #A77731 #31A73C #3161A7
square
#A7319C #A77731 #31A73C #3161A7
split-complementary
#A7319C #61A731 #31A777
monochromatic
#481544 #782370 #A7319C #CA4BBE #D87ACF

Accessibility & contrast

On white

5.89
#A7319C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A7319C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7319C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7319C#FFFFFF#000000##FFFFFF
##A7319C1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#AE3D63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7319c;
/* rgb */ color: rgb(167, 49, 156);
/* oklch */ color: oklch(53.0% 0.194 332.0);
Tailwind
colors: {
  custom: {
    50: '#c574b9',
    500: '#a7319c',
    950: '#000000',
  },
}
SCSS
$custom: #a7319c;
$custom-light: #c574b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7319c",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 156
  },
  "hsl": {
    "h": 305.593,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52963,
    "c": 0.19369,
    "h": 332
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#A7319C
secondary
#73C17A
accent
#DE584A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A7319C

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

Preview Lab → · Contrast checker → · Palette generator →

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