#A5729D#A5729D

#A5729D is a mid, moderate purple. Relative luminance 0.225; OKLCH L 61.9% C 0.087 H 332.2°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A5729D
RGBrgb(165, 114, 157)
HSLhsl(309, 22%, 55%)
HSVhsv(309, 31%, 65%)
CMYKcmyk(0%, 30.9%, 4.8%, 35.3%)
CIE-LABlab(54.52, 27.21, -15.12)
CIE-LCHlch(54.52, 31.13, 330.94°)
OKLaboklab(61.87% 0.0771 -0.0406)
OKLCHoklch(61.87% 0.087 332.2)
XYZxyz(27.6198, 22.4694, 34.7739)
Luminance0.2247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5729D #72A57A
analogous
#9472A5 #A5729D #A57284
triadic
#A5729D #9DA572 #729DA5
tetradic
#A5729D #A59472 #72A57A #7284A5
square
#A5729D #A59472 #72A57A #7284A5
split-complementary
#A5729D #84A572 #72A594
monochromatic
#603D5A #85557D #A5729D #BD97B7 #D5BDD1

Accessibility & contrast

On white

3.82
#A5729D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#A5729D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A5729D
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5729D#FFFFFF#000000##000000
##A5729D1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#717E9F
Deuteranopia (green-blind)
#7D859B
Tritanopia (blue-blind)
#A97581
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a5729d;
/* rgb */ color: rgb(165, 114, 157);
/* oklch */ color: oklch(61.9% 0.087 332.2);
Tailwind
colors: {
  custom: {
    50: '#c09bba',
    500: '#a5729d',
    950: '#000000',
  },
}
SCSS
$custom: #a5729d;
$custom-light: #c09bba;
$custom-dark: #000000;
JSON
{
  "hex": "#a5729d",
  "rgb": {
    "r": 165,
    "g": 114,
    "b": 157
  },
  "hsl": {
    "h": 309.412,
    "s": 22.078,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61866,
    "c": 0.08712,
    "h": 332.2
  },
  "luminance": 0.22468
}

Semantic roles & 50–950 ramp

primary
#A5729D
secondary
#AFC4B2
accent
#BF7769
background
#FBF9FB
surface
#F7F2F6
border
#D0CCD0
text
#120E11
muted
#817E80

Preview Lab

Preview with #A5729D

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

Preview Lab → · Contrast checker → · Palette generator →

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