#A64DAA#A64DAA

#A64DAA is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.7% C 0.166 H 325.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A64DAA
RGBrgb(166, 77, 170)
HSLhsl(297, 38%, 48%)
HSVhsv(297, 55%, 67%)
CMYKcmyk(2.4%, 54.7%, 0%, 33.3%)
CIE-LABlab(47.39, 49.82, -33.73)
CIE-LCHlch(47.39, 60.17, 325.90°)
OKLaboklab(56.73% 0.137 -0.093)
OKLCHoklch(56.73% 0.166 325.8)
XYZxyz(25.6349, 16.3184, 39.8219)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DAA #51AA4D
analogous
#774DAA #A64DAA #AA4D7F
triadic
#A64DAA #AAA64D #4DAAA6
tetradic
#A64DAA #AA774D #51AA4D #4D7FAA
square
#A64DAA #AA774D #51AA4D #4D7FAA
split-complementary
#A64DAA #7FAA4D #4DAA77
monochromatic
#542756 #7D3A80 #A64DAA #BD74C0 #D19ED3

Accessibility & contrast

On white

4.93
#A64DAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A64DAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DAA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DAA#FFFFFF#000000##FFFFFF
##A64DAA1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4269AD
Deuteranopia (green-blind)
#5E74A7
Tritanopia (blue-blind)
#AA5874
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64daa;
/* rgb */ color: rgb(166, 77, 170);
/* oklch */ color: oklch(56.7% 0.166 325.8);
Tailwind
colors: {
  custom: {
    50: '#c383c3',
    500: '#a64daa',
    950: '#000000',
  },
}
SCSS
$custom: #a64daa;
$custom-light: #c383c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a64daa",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 297.419,
    "s": 37.652,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56732,
    "c": 0.16559,
    "h": 325.8
  },
  "luminance": 0.16317
}

Semantic roles & 50–950 ramp

primary
#A64DAA
secondary
#95C093
accent
#CE5A5F
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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