#A34997#A34997

#A34997 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.8% C 0.153 H 332.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A34997
RGBrgb(163, 73, 151)
HSLhsl(308, 38%, 46%)
HSVhsv(308, 55%, 64%)
CMYKcmyk(0%, 55.2%, 7.4%, 36.1%)
CIE-LABlab(45.34, 47.50, -25.68)
CIE-LCHlch(45.34, 54.00, 331.60°)
OKLaboklab(54.85% 0.1362 -0.07)
OKLCHoklch(54.85% 0.153 332.8)
XYZxyz(23.0727, 14.7876, 30.9112)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34997 #49A355
analogous
#8249A3 #A34997 #A3496A
triadic
#A34997 #97A349 #4997A3
tetradic
#A34997 #A38249 #49A355 #496AA3
square
#A34997 #A38249 #49A355 #496AA3
split-complementary
#A34997 #6AA349 #49A382
monochromatic
#4E2349 #793670 #A34997 #BD6CB2 #D096C8

Accessibility & contrast

On white

5.31
#A34997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A34997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34997
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34997#FFFFFF#000000##FFFFFF
##A349971.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47639A
Deuteranopia (green-blind)
#627095
Tritanopia (blue-blind)
#AA4F69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a34997;
/* rgb */ color: rgb(163, 73, 151);
/* oklch */ color: oklch(54.8% 0.153 332.8);
Tailwind
colors: {
  custom: {
    50: '#c180b6',
    500: '#a34997',
    950: '#000000',
  },
}
SCSS
$custom: #a34997;
$custom-light: #c180b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34997",
  "rgb": {
    "r": 163,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 308,
    "s": 38.136,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54846,
    "c": 0.15316,
    "h": 332.8
  },
  "luminance": 0.14786
}

Semantic roles & 50–950 ramp

primary
#A34997
secondary
#8CBC92
accent
#CE695A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34997

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

Preview Lab → · Contrast checker → · Palette generator →

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