#A04799#A04799

#A04799 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.3% C 0.156 H 330.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A04799
RGBrgb(160, 71, 153)
HSLhsl(305, 39%, 45%)
HSVhsv(305, 56%, 63%)
CMYKcmyk(0%, 55.6%, 4.4%, 37.3%)
CIE-LABlab(44.63, 47.95, -28.02)
CIE-LCHlch(44.63, 55.54, 329.70°)
OKLaboklab(54.27% 0.1359 -0.0767)
OKLCHoklch(54.27% 0.156 330.6)
XYZxyz(22.5001, 14.2814, 31.7023)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04799 #47A04E
analogous
#7A47A0 #A04799 #A0476C
triadic
#A04799 #99A047 #4799A0
tetradic
#A04799 #A07A47 #47A04E #476CA0
square
#A04799 #A07A47 #47A04E #476CA0
split-complementary
#A04799 #6CA047 #47A07A
monochromatic
#4B2148 #763470 #A04799 #BC68B5 #CF93CA

Accessibility & contrast

On white

5.45
#A04799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#A04799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04799
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04799#FFFFFF#000000##FFFFFF
##A047991.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#A64F69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a04799;
/* rgb */ color: rgb(160, 71, 153);
/* oklch */ color: oklch(54.3% 0.156 330.6);
Tailwind
colors: {
  custom: {
    50: '#be7fb7',
    500: '#a04799',
    950: '#000000',
  },
}
SCSS
$custom: #a04799;
$custom-light: #be7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a04799",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 304.719,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.15605,
    "h": 330.6
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#A04799
secondary
#88BB8C
accent
#CE6359
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A11
muted
#817C80

Preview Lab

Preview with #A04799

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

Preview Lab → · Contrast checker → · Palette generator →

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