#A34795#A34795

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

Color values

HEX#A34795
RGBrgb(163, 71, 149)
HSLhsl(309, 39%, 46%)
HSVhsv(309, 56%, 64%)
CMYKcmyk(0%, 56.4%, 8.6%, 36.1%)
CIE-LABlab(44.89, 48.13, -25.18)
CIE-LCHlch(44.89, 54.32, 332.38°)
OKLaboklab(54.48% 0.1387 -0.0685)
OKLCHoklch(54.48% 0.155 333.7)
XYZxyz(22.7823, 14.4646, 30.0199)
Luminance0.1446 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34795 #47A355
analogous
#8347A3 #A34795 #A34767
triadic
#A34795 #95A347 #4795A3
tetradic
#A34795 #A38347 #47A355 #4767A3
square
#A34795 #A38347 #47A355 #4767A3
split-complementary
#A34795 #67A347 #47A383
monochromatic
#4E2247 #78346E #A34795 #BE69B1 #D094C7

Accessibility & contrast

On white

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

On black

3.89
#A34795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A34795#FFFFFF#000000##FFFFFF
##A347951.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466297
Deuteranopia (green-blind)
#616F92
Tritanopia (blue-blind)
#AA4D67
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a34795;
/* rgb */ color: rgb(163, 71, 149);
/* oklch */ color: oklch(54.5% 0.155 333.7);
Tailwind
colors: {
  custom: {
    50: '#c17fb4',
    500: '#a34795',
    950: '#000000',
  },
}
SCSS
$custom: #a34795;
$custom-light: #c17fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a34795",
  "rgb": {
    "r": 163,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 309.13,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54485,
    "c": 0.1547,
    "h": 333.7
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A34795

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

Preview Lab → · Contrast checker → · Palette generator →

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