#A64FC5#A64FC5

#A64FC5 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 58.5% C 0.189 H 316.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A64FC5
RGBrgb(166, 79, 197)
HSLhsl(284, 50%, 54%)
HSVhsv(284, 60%, 77%)
CMYKcmyk(15.7%, 59.9%, 0%, 22.7%)
CIE-LABlab(49.17, 54.15, -46.66)
CIE-LCHlch(49.17, 71.48, 319.25°)
OKLaboklab(58.49% 0.1363 -0.1305)
OKLCHoklch(58.49% 0.189 316.2)
XYZxyz(28.5984, 17.7312, 54.7285)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FC5 #6EC54F
analogous
#6B4FC5 #A64FC5 #C54FA9
triadic
#A64FC5 #C5A64F #4FC5A6
tetradic
#A64FC5 #C56B4F #6EC54F #4FA9C5
square
#A64FC5 #C56B4F #6EC54F #4FA9C5
split-complementary
#A64FC5 #A9C54F #4FC56B
monochromatic
#5F2674 #8535A2 #A64FC5 #BD7DD4 #D5ABE3

Accessibility & contrast

On white

4.62
#A64FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A64FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FC5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FC5#FFFFFF#000000##FFFFFF
##A64FC51.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D70C9
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#A46383
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64fc5;
/* rgb */ color: rgb(166, 79, 197);
/* oklch */ color: oklch(58.5% 0.189 316.2);
Tailwind
colors: {
  custom: {
    50: '#c385d7',
    500: '#a64fc5',
    950: '#000000',
  },
}
SCSS
$custom: #a64fc5;
$custom-light: #c385d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fc5",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 284.237,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.18872,
    "h": 316.2
  },
  "luminance": 0.1773
}

Semantic roles & 50–950 ramp

primary
#A64FC5
secondary
#ACD19F
accent
#DA4E73
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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