#A34197#A34197

#A34197 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.8% C 0.166 H 332.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A34197
RGBrgb(163, 65, 151)
HSLhsl(307, 43%, 45%)
HSVhsv(307, 60%, 64%)
CMYKcmyk(0%, 60.1%, 7.4%, 36.1%)
CIE-LABlab(43.95, 51.27, -27.85)
CIE-LCHlch(43.95, 58.35, 331.49°)
OKLaboklab(53.82% 0.1472 -0.0761)
OKLCHoklch(53.82% 0.166 332.7)
XYZxyz(22.5805, 13.8031, 30.7471)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34197 #41A34D
analogous
#7E41A3 #A34197 #A34166
triadic
#A34197 #97A341 #4197A3
tetradic
#A34197 #A37E41 #41A34D #4166A3
square
#A34197 #A37E41 #41A34D #4166A3
split-complementary
#A34197 #66A341 #41A37E
monochromatic
#4B1E46 #77306E #A34197 #C061B4 #D18DC9

Accessibility & contrast

On white

5.58
#A34197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#A34197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34197
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34197#FFFFFF#000000##FFFFFF
##A341971.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#5D6D94
Tritanopia (blue-blind)
#AA4966
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #a34197;
/* rgb */ color: rgb(163, 65, 151);
/* oklch */ color: oklch(53.8% 0.166 332.7);
Tailwind
colors: {
  custom: {
    50: '#c17cb6',
    500: '#a34197',
    950: '#000000',
  },
}
SCSS
$custom: #a34197;
$custom-light: #c17cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34197",
  "rgb": {
    "r": 163,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 307.347,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53823,
    "c": 0.16566,
    "h": 332.7
  },
  "luminance": 0.13801
}

Semantic roles & 50–950 ramp

primary
#A34197
secondary
#83BD8A
accent
#D36455
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34197

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

Preview Lab → · Contrast checker → · Palette generator →

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