#A64EA8#A64EA8

#A64EA8 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.8% C 0.162 H 326.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A64EA8
RGBrgb(166, 78, 168)
HSLhsl(299, 37%, 48%)
HSVhsv(299, 54%, 66%)
CMYKcmyk(1.2%, 53.6%, 0%, 34.1%)
CIE-LABlab(47.47, 48.96, -32.42)
CIE-LCHlch(47.47, 58.72, 326.49°)
OKLaboklab(56.76% 0.1354 -0.0892)
OKLCHoklch(56.76% 0.162 326.6)
XYZxyz(25.5177, 16.3844, 38.8566)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EA8 #50A84E
analogous
#794EA8 #A64EA8 #A84E7D
triadic
#A64EA8 #A8A64E #4EA8A6
tetradic
#A64EA8 #A8794E #50A84E #4E7DA8
square
#A64EA8 #A8794E #50A84E #4E7DA8
split-complementary
#A64EA8 #7DA84E #4EA879
monochromatic
#532754 #7D3B7E #A64EA8 #BD75BF #D19ED2

Accessibility & contrast

On white

4.91
#A64EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A64EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EA8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EA8#FFFFFF#000000##FFFFFF
##A64EA81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4469AB
Deuteranopia (green-blind)
#6075A5
Tritanopia (blue-blind)
#AA5974
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64ea8;
/* rgb */ color: rgb(166, 78, 168);
/* oklch */ color: oklch(56.8% 0.162 326.6);
Tailwind
colors: {
  custom: {
    50: '#c384c2',
    500: '#a64ea8',
    950: '#000000',
  },
}
SCSS
$custom: #a64ea8;
$custom-light: #c384c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ea8",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 298.667,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.16214,
    "h": 326.6
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#A64EA8
secondary
#94BF93
accent
#CD5B5E
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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