#A64FC2#A64FC2

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

Color values

HEX#A64FC2
RGBrgb(166, 79, 194)
HSLhsl(285, 49%, 54%)
HSVhsv(285, 59%, 76%)
CMYKcmyk(14.4%, 59.3%, 0%, 23.9%)
CIE-LABlab(49.00, 53.53, -45.19)
CIE-LCHlch(49.00, 70.06, 319.83°)
OKLaboklab(58.32% 0.1362 -0.1263)
OKLCHoklch(58.32% 0.186 317.2)
XYZxyz(28.2581, 17.5951, 52.9361)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FC2 #6BC24F
analogous
#6C4FC2 #A64FC2 #C24FA4
triadic
#A64FC2 #C2A64F #4FC2A6
tetradic
#A64FC2 #C26C4F #6BC24F #4FA4C2
square
#A64FC2 #C26C4F #6BC24F #4FA4C2
split-complementary
#A64FC2 #A4C24F #4FC26C
monochromatic
#5E2770 #84379D #A64FC2 #BD7CD2 #D4AAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64FC2#FFFFFF#000000##FFFFFF
##A64FC21.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)
#306FC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#A56281
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64fc2;
/* rgb */ color: rgb(166, 79, 194);
/* oklch */ color: oklch(58.3% 0.186 317.2);
Tailwind
colors: {
  custom: {
    50: '#c385d5',
    500: '#a64fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a64fc2;
$custom-light: #c385d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fc2",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 285.391,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58318,
    "c": 0.18573,
    "h": 317.2
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#A64FC2
secondary
#AACF9E
accent
#D85071
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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