#A04797#A04797

#A04797 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.2% C 0.154 H 331.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#A04797
RGBrgb(160, 71, 151)
HSLhsl(306, 39%, 45%)
HSVhsv(306, 56%, 63%)
CMYKcmyk(0%, 55.6%, 5.6%, 37.3%)
CIE-LABlab(44.54, 47.60, -26.96)
CIE-LCHlch(44.54, 54.71, 330.47°)
OKLaboklab(54.17% 0.1356 -0.0737)
OKLCHoklch(54.17% 0.154 331.5)
XYZxyz(22.3363, 14.2159, 30.8396)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04797 #47A050
analogous
#7C47A0 #A04797 #A0476B
triadic
#A04797 #97A047 #4797A0
tetradic
#A04797 #A07C47 #47A050 #476BA0
square
#A04797 #A07C47 #47A050 #476BA0
split-complementary
#A04797 #6BA047 #47A07C
monochromatic
#4B2147 #76346F #A04797 #BC68B4 #CF93C9

Accessibility & contrast

On white

5.46
#A04797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A04797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04797
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04797#FFFFFF#000000##FFFFFF
##A047971.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43619A
Deuteranopia (green-blind)
#5E6E95
Tritanopia (blue-blind)
#A64E68
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a04797;
/* rgb */ color: rgb(160, 71, 151);
/* oklch */ color: oklch(54.2% 0.154 331.5);
Tailwind
colors: {
  custom: {
    50: '#be7fb6',
    500: '#a04797',
    950: '#000000',
  },
}
SCSS
$custom: #a04797;
$custom-light: #be7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04797",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 306.067,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.15432,
    "h": 331.5
  },
  "luminance": 0.14214
}

Semantic roles & 50–950 ramp

primary
#A04797
secondary
#88BB8D
accent
#CE6559
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #A04797

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

Preview Lab → · Contrast checker → · Palette generator →

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