#A34799#A34799

#A34799 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.7% C 0.158 H 331.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A34799
RGBrgb(163, 71, 153)
HSLhsl(307, 39%, 46%)
HSVhsv(307, 56%, 64%)
CMYKcmyk(0%, 56.4%, 6.1%, 36.1%)
CIE-LABlab(45.07, 48.81, -27.30)
CIE-LCHlch(45.07, 55.93, 330.78°)
OKLaboklab(54.68% 0.1394 -0.0746)
OKLCHoklch(54.68% 0.158 331.9)
XYZxyz(23.1072, 14.5945, 31.7308)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34799 #47A351
analogous
#7F47A3 #A34799 #A3476B
triadic
#A34799 #99A347 #4799A3
tetradic
#A34799 #A37F47 #47A351 #476BA3
square
#A34799 #A37F47 #47A351 #476BA3
split-complementary
#A34799 #6BA347 #47A37F
monochromatic
#4E2249 #783471 #A34799 #BE69B5 #D094CA

Accessibility & contrast

On white

5.36
#A34799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A34799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34799
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34799#FFFFFF#000000##FFFFFF
##A347991.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629C
Deuteranopia (green-blind)
#606F96
Tritanopia (blue-blind)
#A94E69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a34799;
/* rgb */ color: rgb(163, 71, 153);
/* oklch */ color: oklch(54.7% 0.158 331.9);
Tailwind
colors: {
  custom: {
    50: '#c17fb7',
    500: '#a34799',
    950: '#000000',
  },
}
SCSS
$custom: #a34799;
$custom-light: #c17fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a34799",
  "rgb": {
    "r": 163,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 306.522,
    "s": 39.316,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54679,
    "c": 0.15805,
    "h": 331.9
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#A34799
secondary
#8ABC8F
accent
#CF6559
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34799

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

Preview Lab → · Contrast checker → · Palette generator →

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