#A64FA6#A64FA6

#A64FA6 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.8% C 0.159 H 327.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A64FA6
RGBrgb(166, 79, 166)
HSLhsl(300, 36%, 48%)
HSVhsv(300, 52%, 65%)
CMYKcmyk(0%, 52.4%, 0%, 34.9%)
CIE-LABlab(47.56, 48.09, -31.10)
CIE-LCHlch(47.56, 57.28, 327.11°)
OKLaboklab(56.8% 0.1337 -0.0855)
OKLCHoklch(56.8% 0.159 327.4)
XYZxyz(25.4044, 16.4536, 37.9068)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FA6 #4FA64F
analogous
#7A4FA6 #A64FA6 #A64F7A
triadic
#A64FA6 #A6A64F #4FA6A6
tetradic
#A64FA6 #A67A4F #4FA64F #4F7AA6
square
#A64FA6 #A67A4F #4FA64F #4F7AA6
split-complementary
#A64FA6 #7AA64F #4FA67A
monochromatic
#532853 #7D3B7D #A64FA6 #BD75BD #D19ED1

Accessibility & contrast

On white

4.89
#A64FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#A64FA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FA6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FA6#FFFFFF#000000##FFFFFF
##A64FA61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476AA9
Deuteranopia (green-blind)
#6175A3
Tritanopia (blue-blind)
#AA5973
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64fa6;
/* rgb */ color: rgb(166, 79, 166);
/* oklch */ color: oklch(56.8% 0.159 327.4);
Tailwind
colors: {
  custom: {
    50: '#c384c0',
    500: '#a64fa6',
    950: '#000000',
  },
}
SCSS
$custom: #a64fa6;
$custom-light: #c384c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fa6",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56798,
    "c": 0.15869,
    "h": 327.4
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#A64FA6
secondary
#93BE93
accent
#CC5C5C
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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