#A64AA2#A64AA2

#A64AA2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 55.9% C 0.163 H 329.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A64AA2
RGBrgb(166, 74, 162)
HSLhsl(303, 38%, 47%)
HSVhsv(303, 55%, 65%)
CMYKcmyk(0%, 55.4%, 2.4%, 34.9%)
CIE-LABlab(46.46, 49.81, -30.46)
CIE-LCHlch(46.46, 58.38, 328.56°)
OKLaboklab(55.93% 0.14 -0.0836)
OKLCHoklch(55.93% 0.163 329.2)
XYZxyz(24.6960, 15.6147, 35.8886)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AA2 #4AA64E
analogous
#7C4AA6 #A64AA2 #A64A74
triadic
#A64AA2 #A2A64A #4AA2A6
tetradic
#A64AA2 #A67C4A #4AA64E #4A74A6
square
#A64AA2 #A67C4A #4AA64E #4A74A6
split-complementary
#A64AA2 #74A64A #4AA67C
monochromatic
#51244F #7C3779 #A64AA2 #BF6FBB #D199CF

Accessibility & contrast

On white

5.09
#A64AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A64AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64AA2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AA2#FFFFFF#000000##FFFFFF
##A64AA21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#60739F
Tritanopia (blue-blind)
#AB536F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a64aa2;
/* rgb */ color: rgb(166, 74, 162);
/* oklch */ color: oklch(55.9% 0.163 329.2);
Tailwind
colors: {
  custom: {
    50: '#c381be',
    500: '#a64aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a64aa2;
$custom-light: #c381be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64aa2",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 302.609,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55928,
    "c": 0.16308,
    "h": 329.2
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#A64AA2
secondary
#8EBE90
accent
#CE5F5A
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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