#A34797#A34797

#A34797 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.6% C 0.156 H 332.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A34797
RGBrgb(163, 71, 151)
HSLhsl(308, 39%, 46%)
HSVhsv(308, 56%, 64%)
CMYKcmyk(0%, 56.4%, 7.4%, 36.1%)
CIE-LABlab(44.98, 48.47, -26.24)
CIE-LCHlch(44.98, 55.12, 331.57°)
OKLaboklab(54.58% 0.139 -0.0715)
OKLCHoklch(54.58% 0.156 332.8)
XYZxyz(22.9434, 14.5290, 30.8681)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34797 #47A353
analogous
#8147A3 #A34797 #A34769
triadic
#A34797 #97A347 #4797A3
tetradic
#A34797 #A38147 #47A353 #4769A3
square
#A34797 #A38147 #47A353 #4769A3
split-complementary
#A34797 #69A347 #47A381
monochromatic
#4E2248 #783470 #A34797 #BE69B3 #D094C9

Accessibility & contrast

On white

5.38
#A34797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A34797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34797
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34797#FFFFFF#000000##FFFFFF
##A347971.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45629A
Deuteranopia (green-blind)
#606F94
Tritanopia (blue-blind)
#AA4E68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a34797;
/* rgb */ color: rgb(163, 71, 151);
/* oklch */ color: oklch(54.6% 0.156 332.8);
Tailwind
colors: {
  custom: {
    50: '#c17fb6',
    500: '#a34797',
    950: '#000000',
  },
}
SCSS
$custom: #a34797;
$custom-light: #c17fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34797",
  "rgb": {
    "r": 163,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 307.826,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54581,
    "c": 0.15636,
    "h": 332.8
  },
  "luminance": 0.14527
}

Semantic roles & 50–950 ramp

primary
#A34797
secondary
#8ABC90
accent
#CF6859
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34797

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

Preview Lab → · Contrast checker → · Palette generator →

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