#A04798#A04798

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

Color values

HEX#A04798
RGBrgb(160, 71, 152)
HSLhsl(305, 39%, 45%)
HSVhsv(305, 56%, 63%)
CMYKcmyk(0%, 55.6%, 5%, 37.3%)
CIE-LABlab(44.59, 47.77, -27.49)
CIE-LCHlch(44.59, 55.12, 330.08°)
OKLaboklab(54.22% 0.1358 -0.0752)
OKLCHoklch(54.22% 0.155 331)
XYZxyz(22.4178, 14.2485, 31.2692)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04798 #47A04F
analogous
#7B47A0 #A04798 #A0476C
triadic
#A04798 #98A047 #4798A0
tetradic
#A04798 #A07B47 #47A04F #476CA0
square
#A04798 #A07B47 #47A04F #476CA0
split-complementary
#A04798 #6CA047 #47A07B
monochromatic
#4B2147 #763470 #A04798 #BC68B5 #CF93C9

Accessibility & contrast

On white

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

On black

3.85
#A04798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A04798#FFFFFF#000000##FFFFFF
##A047981.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#5E6E96
Tritanopia (blue-blind)
#A64F69
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a04798;
/* rgb */ color: rgb(160, 71, 152);
/* oklch */ color: oklch(54.2% 0.155 331.0);
Tailwind
colors: {
  custom: {
    50: '#be7fb6',
    500: '#a04798',
    950: '#000000',
  },
}
SCSS
$custom: #a04798;
$custom-light: #be7fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a04798",
  "rgb": {
    "r": 160,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 305.393,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54216,
    "c": 0.15518,
    "h": 331
  },
  "luminance": 0.14247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A04798

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

Preview Lab → · Contrast checker → · Palette generator →

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