#A05798#A05798

#A05798 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.5% C 0.128 H 331.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A05798
RGBrgb(160, 87, 152)
HSLhsl(307, 30%, 48%)
HSVhsv(307, 46%, 63%)
CMYKcmyk(0%, 45.6%, 5%, 37.3%)
CIE-LABlab(47.70, 39.58, -22.67)
CIE-LCHlch(47.70, 45.61, 330.20°)
OKLaboklab(56.52% 0.1123 -0.0616)
OKLCHoklch(56.52% 0.128 331.3)
XYZxyz(23.5727, 16.5583, 31.6541)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05798 #57A05F
analogous
#8357A0 #A05798 #A05773
triadic
#A05798 #98A057 #5798A0
tetradic
#A05798 #A08357 #57A05F #5773A0
square
#A05798 #A08357 #57A05F #5773A0
split-complementary
#A05798 #73A057 #57A083
monochromatic
#512C4D #784172 #A05798 #B87CB1 #CDA4C9

Accessibility & contrast

On white

4.87
#A05798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A05798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A05798
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05798#FFFFFF#000000##FFFFFF
##A057981.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#687596
Tritanopia (blue-blind)
#A55C70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a05798;
/* rgb */ color: rgb(160, 87, 152);
/* oklch */ color: oklch(56.5% 0.128 331.3);
Tailwind
colors: {
  custom: {
    50: '#be89b6',
    500: '#a05798',
    950: '#000000',
  },
}
SCSS
$custom: #a05798;
$custom-light: #be89b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a05798",
  "rgb": {
    "r": 160,
    "g": 87,
    "b": 152
  },
  "hsl": {
    "h": 306.575,
    "s": 29.555,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56522,
    "c": 0.12808,
    "h": 331.3
  },
  "luminance": 0.16557
}

Semantic roles & 50–950 ramp

primary
#A05798
secondary
#98BB9C
accent
#C66D62
background
#FBF8FB
surface
#F7F0F6
border
#D0CBD0
text
#120C11
muted
#817D80

Preview Lab

Preview with #A05798

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

Preview Lab → · Contrast checker → · Palette generator →

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