#A34F97#A34F97

#A34F97 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.7% C 0.143 H 333.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A34F97
RGBrgb(163, 79, 151)
HSLhsl(309, 35%, 47%)
HSVhsv(309, 52%, 64%)
CMYKcmyk(0%, 51.5%, 7.4%, 36.1%)
CIE-LABlab(46.46, 44.51, -23.94)
CIE-LCHlch(46.46, 50.55, 331.72°)
OKLaboklab(55.68% 0.1276 -0.0651)
OKLCHoklch(55.68% 0.143 333)
XYZxyz(23.4861, 15.6144, 31.0490)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34F97 #4FA35B
analogous
#854FA3 #A34F97 #A34F6D
triadic
#A34F97 #97A34F #4F97A3
tetradic
#A34F97 #A3854F #4FA35B #4F6DA3
square
#A34F97 #A3854F #4FA35B #4F6DA3
split-complementary
#A34F97 #6DA34F #4FA385
monochromatic
#51274B #7A3B71 #A34F97 #BB74B1 #CF9DC8

Accessibility & contrast

On white

5.09
#A34F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A34F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34F97
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34F97#FFFFFF#000000##FFFFFF
##A34F971.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6699
Deuteranopia (green-blind)
#657295
Tritanopia (blue-blind)
#A9546C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a34f97;
/* rgb */ color: rgb(163, 79, 151);
/* oklch */ color: oklch(55.7% 0.143 333.0);
Tailwind
colors: {
  custom: {
    50: '#c084b5',
    500: '#a34f97',
    950: '#000000',
  },
}
SCSS
$custom: #a34f97;
$custom-light: #c084b5;
$custom-dark: #000000;
JSON
{
  "hex": "#a34f97",
  "rgb": {
    "r": 163,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 308.571,
    "s": 34.711,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.14324,
    "h": 333
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#A34F97
secondary
#91BC98
accent
#CB6D5D
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#120B11
muted
#817C80

Preview Lab

Preview with #A34F97

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

Preview Lab → · Contrast checker → · Palette generator →

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