#A64FA4#A64FA4

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

Color values

HEX#A64FA4
RGBrgb(166, 79, 164)
HSLhsl(301, 36%, 48%)
HSVhsv(301, 52%, 65%)
CMYKcmyk(0%, 52.4%, 1.2%, 34.9%)
CIE-LABlab(47.47, 47.73, -30.07)
CIE-LCHlch(47.47, 56.41, 327.79°)
OKLaboklab(56.7% 0.1334 -0.0825)
OKLCHoklch(56.7% 0.157 328.3)
XYZxyz(25.2224, 16.3808, 36.9481)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FA4 #4FA651
analogous
#7C4FA6 #A64FA4 #A64F78
triadic
#A64FA4 #A4A64F #4FA4A6
tetradic
#A64FA4 #A67C4F #4FA651 #4F78A6
square
#A64FA4 #A67C4F #4FA651 #4F78A6
split-complementary
#A64FA4 #78A64F #4FA67C
monochromatic
#532852 #7D3B7B #A64FA4 #BD75BC #D19ED0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64FA4#FFFFFF#000000##FFFFFF
##A64FA41.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)
#4869A7
Deuteranopia (green-blind)
#6275A1
Tritanopia (blue-blind)
#AB5872
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64fa4;
/* rgb */ color: rgb(166, 79, 164);
/* oklch */ color: oklch(56.7% 0.157 328.3);
Tailwind
colors: {
  custom: {
    50: '#c384bf',
    500: '#a64fa4',
    950: '#000000',
  },
}
SCSS
$custom: #a64fa4;
$custom-light: #c384bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fa4",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 164
  },
  "hsl": {
    "h": 301.379,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.15685,
    "h": 328.3
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#A64FA4
secondary
#93BE94
accent
#CC5F5C
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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