#A64EC5#A64EC5

#A64EC5 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.4% C 0.190 H 316.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A64EC5
RGBrgb(166, 78, 197)
HSLhsl(284, 51%, 54%)
HSVhsv(284, 60%, 77%)
CMYKcmyk(15.7%, 60.4%, 0%, 22.7%)
CIE-LABlab(48.99, 54.63, -46.94)
CIE-LCHlch(48.99, 72.02, 319.33°)
OKLaboklab(58.37% 0.1375 -0.1314)
OKLCHoklch(58.37% 0.19 316.3)
XYZxyz(28.5268, 17.5880, 54.7046)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EC5 #6DC54E
analogous
#6B4EC5 #A64EC5 #C54EA9
triadic
#A64EC5 #C5A64E #4EC5A6
tetradic
#A64EC5 #C56B4E #6DC54E #4EA9C5
square
#A64EC5 #C56B4E #6DC54E #4EA9C5
split-complementary
#A64EC5 #A9C54E #4EC56B
monochromatic
#5F2673 #8535A1 #A64EC5 #BD7CD4 #D4AAE3

Accessibility & contrast

On white

4.65
#A64EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A64EC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EC5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EC5#FFFFFF#000000##FFFFFF
##A64EC51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6FC9
Deuteranopia (green-blind)
#4F77C2
Tritanopia (blue-blind)
#A46282
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64ec5;
/* rgb */ color: rgb(166, 78, 197);
/* oklch */ color: oklch(58.4% 0.190 316.3);
Tailwind
colors: {
  custom: {
    50: '#c384d7',
    500: '#a64ec5',
    950: '#000000',
  },
}
SCSS
$custom: #a64ec5;
$custom-light: #c384d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ec5",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 284.37,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58366,
    "c": 0.19018,
    "h": 316.3
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#A64EC5
secondary
#ABD19E
accent
#DA4E72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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