#A34698#A34698

#A34698 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.5% C 0.159 H 332.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A34698
RGBrgb(163, 70, 152)
HSLhsl(307, 40%, 46%)
HSVhsv(307, 57%, 64%)
CMYKcmyk(0%, 57.1%, 6.7%, 36.1%)
CIE-LABlab(44.85, 49.12, -27.05)
CIE-LCHlch(44.85, 56.07, 331.16°)
OKLaboklab(54.5% 0.1406 -0.0738)
OKLCHoklch(54.5% 0.159 332.3)
XYZxyz(22.9619, 14.4354, 31.2766)
Luminance0.1443 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34698 #46A351
analogous
#7F46A3 #A34698 #A34669
triadic
#A34698 #98A346 #4698A3
tetradic
#A34698 #A37F46 #46A351 #4669A3
square
#A34698 #A37F46 #46A351 #4669A3
split-complementary
#A34698 #69A346 #46A37F
monochromatic
#4D2148 #783470 #A34698 #BE68B4 #D193C9

Accessibility & contrast

On white

5.40
#A34698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A34698
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34698#FFFFFF#000000##FFFFFF
##A346981.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#5F6F95
Tritanopia (blue-blind)
#A94D68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a34698;
/* rgb */ color: rgb(163, 70, 152);
/* oklch */ color: oklch(54.5% 0.159 332.3);
Tailwind
colors: {
  custom: {
    50: '#c17eb6',
    500: '#a34698',
    950: '#000000',
  },
}
SCSS
$custom: #a34698;
$custom-light: #c17eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#a34698",
  "rgb": {
    "r": 163,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 307.097,
    "s": 39.914,
    "l": 45.686
  },
  "oklch": {
    "l": 0.545,
    "c": 0.15879,
    "h": 332.3
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#A34698
secondary
#89BC8F
accent
#D06658
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#130A11
muted
#827C80

Preview Lab

Preview with #A34698

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

Preview Lab → · Contrast checker → · Palette generator →

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