#A4579B#A4579B

#A4579B is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.2% C 0.134 H 331.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A4579B
RGBrgb(164, 87, 155)
HSLhsl(307, 31%, 49%)
HSVhsv(307, 47%, 64%)
CMYKcmyk(0%, 47%, 5.5%, 35.7%)
CIE-LABlab(48.36, 41.39, -23.39)
CIE-LCHlch(48.36, 47.54, 330.53°)
OKLaboklab(57.17% 0.1177 -0.0636)
OKLCHoklch(57.17% 0.134 331.6)
XYZxyz(24.6342, 17.0769, 33.0026)
Luminance0.1708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4579B #57A460
analogous
#8757A4 #A4579B #A45775
triadic
#A4579B #9BA457 #579BA4
tetradic
#A4579B #A48757 #57A460 #5775A4
square
#A4579B #A48757 #57A460 #5775A4
split-complementary
#A4579B #75A457 #57A487
monochromatic
#542D4F #7C4275 #A4579B #BA7EB3 #D0A6CB

Accessibility & contrast

On white

4.76
#A4579B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A4579B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4579B
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4579B#FFFFFF#000000##FFFFFF
##A4579B1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546C9D
Deuteranopia (green-blind)
#6A7799
Tritanopia (blue-blind)
#AA5C72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a4579b;
/* rgb */ color: rgb(164, 87, 155);
/* oklch */ color: oklch(57.2% 0.134 331.6);
Tailwind
colors: {
  custom: {
    50: '#c189b8',
    500: '#a4579b',
    950: '#000000',
  },
}
SCSS
$custom: #a4579b;
$custom-light: #c189b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a4579b",
  "rgb": {
    "r": 164,
    "g": 87,
    "b": 155
  },
  "hsl": {
    "h": 307.013,
    "s": 30.677,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.13377,
    "h": 331.6
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#A4579B
secondary
#99BD9E
accent
#C76D61
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #A4579B

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

Preview Lab → · Contrast checker → · Palette generator →

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