#A73198#A73198

#A73198 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.191 H 333.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A73198
RGBrgb(167, 49, 152)
HSLhsl(308, 55%, 42%)
HSVhsv(308, 71%, 65%)
CMYKcmyk(0%, 70.7%, 9%, 34.5%)
CIE-LABlab(42.28, 59.03, -31.02)
CIE-LCHlch(42.28, 66.68, 332.27°)
OKLaboklab(52.75% 0.1707 -0.085)
OKLCHoklch(52.75% 0.191 333.5)
XYZxyz(22.7023, 12.6810, 30.9517)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A73198 #31A740
analogous
#7B31A7 #A73198 #A7315D
triadic
#A73198 #98A731 #3198A7
tetradic
#A73198 #A77B31 #31A740 #315DA7
square
#A73198 #A77B31 #31A740 #315DA7
split-complementary
#A73198 #5DA731 #31A77B
monochromatic
#481542 #78236D #A73198 #CA4BBA #D87ACC

Accessibility & contrast

On white

5.94
#A73198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A73198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A73198
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A73198#FFFFFF#000000##FFFFFF
##A731981.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E599B
Deuteranopia (green-blind)
#586A95
Tritanopia (blue-blind)
#AF3C61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a73198;
/* rgb */ color: rgb(167, 49, 152);
/* oklch */ color: oklch(52.8% 0.191 333.5);
Tailwind
colors: {
  custom: {
    50: '#c574b6',
    500: '#a73198',
    950: '#000000',
  },
}
SCSS
$custom: #a73198;
$custom-light: #c574b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a73198",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 307.627,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.19068,
    "h": 333.5
  },
  "luminance": 0.12679
}

Semantic roles & 50–950 ramp

primary
#A73198
secondary
#73C17D
accent
#DE5D4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A73198

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

Preview Lab → · Contrast checker → · Palette generator →

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