#A64EA4#A64EA4

#A64EA4 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.6% C 0.158 H 328.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A64EA4
RGBrgb(166, 78, 164)
HSLhsl(301, 36%, 48%)
HSVhsv(301, 53%, 65%)
CMYKcmyk(0%, 53%, 1.2%, 34.9%)
CIE-LABlab(47.28, 48.22, -30.36)
CIE-LCHlch(47.28, 56.98, 327.81°)
OKLaboklab(56.56% 0.1348 -0.0833)
OKLCHoklch(56.56% 0.158 328.3)
XYZxyz(25.1508, 16.2376, 36.9242)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EA4 #4EA650
analogous
#7C4EA6 #A64EA4 #A64E78
triadic
#A64EA4 #A4A64E #4EA4A6
tetradic
#A64EA4 #A67C4E #4EA650 #4E78A6
square
#A64EA4 #A67C4E #4EA650 #4E78A6
split-complementary
#A64EA4 #78A64E #4EA67C
monochromatic
#532752 #7C3A7B #A64EA4 #BE74BC #D19DD0

Accessibility & contrast

On white

4.94
#A64EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A64EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EA4
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EA4#FFFFFF#000000##FFFFFF
##A64EA41.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A7
Deuteranopia (green-blind)
#6274A1
Tritanopia (blue-blind)
#AB5772
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64ea4;
/* rgb */ color: rgb(166, 78, 164);
/* oklch */ color: oklch(56.6% 0.158 328.3);
Tailwind
colors: {
  custom: {
    50: '#c384bf',
    500: '#a64ea4',
    950: '#000000',
  },
}
SCSS
$custom: #a64ea4;
$custom-light: #c384bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ea4",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 301.364,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56561,
    "c": 0.15848,
    "h": 328.3
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#A64EA4
secondary
#92BE93
accent
#CC5E5C
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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