#A7319D#A7319D

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

Color values

HEX#A7319D
RGBrgb(167, 49, 157)
HSLhsl(305, 55%, 42%)
HSVhsv(305, 71%, 65%)
CMYKcmyk(0%, 70.7%, 6%, 34.5%)
CIE-LABlab(42.53, 59.82, -33.63)
CIE-LCHlch(42.53, 68.63, 330.66°)
OKLaboklab(53.02% 0.1711 -0.0925)
OKLCHoklch(53.02% 0.194 331.6)
XYZxyz(23.1205, 12.8483, 33.1540)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7319D #31A73B
analogous
#7631A7 #A7319D #A73162
triadic
#A7319D #9DA731 #319DA7
tetradic
#A7319D #A77631 #31A73B #3162A7
square
#A7319D #A77631 #31A73B #3162A7
split-complementary
#A7319D #62A731 #31A776
monochromatic
#481544 #782371 #A7319D #CA4BBF #D87AD0

Accessibility & contrast

On white

5.88
#A7319D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A7319D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7319D
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7319D#FFFFFF#000000##FFFFFF
##A7319D1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295AA0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#AE3E63
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a7319d;
/* rgb */ color: rgb(167, 49, 157);
/* oklch */ color: oklch(53.0% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#c574ba',
    500: '#a7319d',
    950: '#000000',
  },
}
SCSS
$custom: #a7319d;
$custom-light: #c574ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7319d",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 305.085,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53017,
    "c": 0.19446,
    "h": 331.6
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7319D

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

Preview Lab → · Contrast checker → · Palette generator →

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