#A73197#A73197

#A73197 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.190 H 333.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A73197
RGBrgb(167, 49, 151)
HSLhsl(308, 55%, 42%)
HSVhsv(308, 71%, 65%)
CMYKcmyk(0%, 70.7%, 9.6%, 34.5%)
CIE-LABlab(42.23, 58.87, -30.50)
CIE-LCHlch(42.23, 66.30, 332.61°)
OKLaboklab(52.7% 0.1706 -0.0834)
OKLCHoklch(52.7% 0.19 333.9)
XYZxyz(22.6207, 12.6484, 30.5222)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A73197 #31A741
analogous
#7C31A7 #A73197 #A7315C
triadic
#A73197 #97A731 #3197A7
tetradic
#A73197 #A77C31 #31A741 #315CA7
square
#A73197 #A77C31 #31A741 #315CA7
split-complementary
#A73197 #5CA731 #31A77C
monochromatic
#481541 #78236C #A73197 #CA4BB9 #D87ACB

Accessibility & contrast

On white

5.95
#A73197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A73197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A73197
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A73197#FFFFFF#000000##FFFFFF
##A731971.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599A
Deuteranopia (green-blind)
#586A94
Tritanopia (blue-blind)
#AF3B60
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a73197;
/* rgb */ color: rgb(167, 49, 151);
/* oklch */ color: oklch(52.7% 0.190 333.9);
Tailwind
colors: {
  custom: {
    50: '#c574b6',
    500: '#a73197',
    950: '#000000',
  },
}
SCSS
$custom: #a73197;
$custom-light: #c574b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a73197",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 151
  },
  "hsl": {
    "h": 308.136,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52697,
    "c": 0.18993,
    "h": 333.9
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#A73197
secondary
#73C17E
accent
#DE5E4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A73197

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

Preview Lab → · Contrast checker → · Palette generator →

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