#A34796#A34796

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

Color values

HEX#A34796
RGBrgb(163, 71, 150)
HSLhsl(308, 39%, 46%)
HSVhsv(308, 56%, 64%)
CMYKcmyk(0%, 56.4%, 8%, 36.1%)
CIE-LABlab(44.94, 48.30, -25.71)
CIE-LCHlch(44.94, 54.72, 331.97°)
OKLaboklab(54.53% 0.1389 -0.07)
OKLCHoklch(54.53% 0.156 333.2)
XYZxyz(22.8625, 14.4966, 30.4422)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34796 #47A354
analogous
#8247A3 #A34796 #A34768
triadic
#A34796 #96A347 #4796A3
tetradic
#A34796 #A38247 #47A354 #4768A3
square
#A34796 #A38247 #47A354 #4768A3
split-complementary
#A34796 #68A347 #47A382
monochromatic
#4E2248 #78346F #A34796 #BE69B2 #D094C8

Accessibility & contrast

On white

5.39
#A34796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A34796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34796
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34796#FFFFFF#000000##FFFFFF
##A347961.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#616F93
Tritanopia (blue-blind)
#AA4D68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a34796;
/* rgb */ color: rgb(163, 71, 150);
/* oklch */ color: oklch(54.5% 0.156 333.2);
Tailwind
colors: {
  custom: {
    50: '#c17fb5',
    500: '#a34796',
    950: '#000000',
  },
}
SCSS
$custom: #a34796;
$custom-light: #c17fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34796",
  "rgb": {
    "r": 163,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 308.478,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.15552,
    "h": 333.2
  },
  "luminance": 0.14495
}

Semantic roles & 50–950 ramp

primary
#A34796
secondary
#8ABC91
accent
#CF6959
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34796

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

Preview Lab → · Contrast checker → · Palette generator →

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