#A64DC7#A64DC7

#A64DC7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.194 H 315.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A64DC7
RGBrgb(166, 77, 199)
HSLhsl(284, 52%, 54%)
HSVhsv(284, 61%, 78%)
CMYKcmyk(16.6%, 61.3%, 0%, 22%)
CIE-LABlab(48.93, 55.51, -48.19)
CIE-LCHlch(48.93, 73.51, 319.04°)
OKLaboklab(58.36% 0.1388 -0.135)
OKLCHoklch(58.36% 0.194 315.8)
XYZxyz(28.6870, 17.5393, 55.8960)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DC7 #6EC74D
analogous
#694DC7 #A64DC7 #C74DAB
triadic
#A64DC7 #C7A64D #4DC7A6
tetradic
#A64DC7 #C7694D #6EC74D #4DABC7
square
#A64DC7 #C7694D #6EC74D #4DABC7
split-complementary
#A64DC7 #ABC74D #4DC769
monochromatic
#5F2575 #8533A3 #A64DC7 #BD7CD6 #D5AAE4

Accessibility & contrast

On white

4.66
#A64DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A64DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DC7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DC7#FFFFFF#000000##FFFFFF
##A64DC71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#4D77C4
Tritanopia (blue-blind)
#A46383
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64dc7;
/* rgb */ color: rgb(166, 77, 199);
/* oklch */ color: oklch(58.4% 0.194 315.8);
Tailwind
colors: {
  custom: {
    50: '#c384d8',
    500: '#a64dc7',
    950: '#000000',
  },
}
SCSS
$custom: #a64dc7;
$custom-light: #c384d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dc7",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 283.77,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.19362,
    "h": 315.8
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#A64DC7
secondary
#ACD29E
accent
#DC4C73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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