#A64AAA#A64AAA

#A64AAA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.3% C 0.170 H 325.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A64AAA
RGBrgb(166, 74, 170)
HSLhsl(298, 39%, 48%)
HSVhsv(298, 56%, 67%)
CMYKcmyk(2.4%, 56.5%, 0%, 33.3%)
CIE-LABlab(46.85, 51.26, -34.58)
CIE-LCHlch(46.85, 61.83, 326.00°)
OKLaboklab(56.34% 0.141 -0.0954)
OKLCHoklch(56.34% 0.17 325.9)
XYZxyz(25.4298, 15.9083, 39.7536)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AAA #4EAA4A
analogous
#764AAA #A64AAA #AA4A7E
triadic
#A64AAA #AAA64A #4AAAA6
tetradic
#A64AAA #AA764A #4EAA4A #4A7EAA
square
#A64AAA #AA764A #4EAA4A #4A7EAA
split-complementary
#A64AAA #7EAA4A #4AAA76
monochromatic
#532555 #7C377F #A64AAA #BE70C1 #D19BD3

Accessibility & contrast

On white

5.02
#A64AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A64AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64AAA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AAA#FFFFFF#000000##FFFFFF
##A64AAA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AD
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#AA5673
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a64aaa;
/* rgb */ color: rgb(166, 74, 170);
/* oklch */ color: oklch(56.3% 0.170 325.9);
Tailwind
colors: {
  custom: {
    50: '#c381c3',
    500: '#a64aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a64aaa;
$custom-light: #c381c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a64aaa",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 297.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.17027,
    "h": 325.9
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#A64AAA
secondary
#92C090
accent
#CF595E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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