#A64DC6#A64DC6

#A64DC6 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.3% C 0.193 H 316.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A64DC6
RGBrgb(166, 77, 198)
HSLhsl(284, 51%, 54%)
HSVhsv(284, 61%, 78%)
CMYKcmyk(16.2%, 61.1%, 0%, 22.4%)
CIE-LABlab(48.88, 55.30, -47.70)
CIE-LCHlch(48.88, 73.04, 319.22°)
OKLaboklab(58.3% 0.1388 -0.1336)
OKLCHoklch(58.3% 0.193 316.1)
XYZxyz(28.5712, 17.4930, 55.2866)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DC6 #6DC64D
analogous
#6A4DC6 #A64DC6 #C64DAA
triadic
#A64DC6 #C6A64D #4DC6A6
tetradic
#A64DC6 #C66A4D #6DC64D #4DAAC6
square
#A64DC6 #C66A4D #6DC64D #4DAAC6
split-complementary
#A64DC6 #AAC64D #4DC66A
monochromatic
#5F2574 #8534A2 #A64DC6 #BD7BD5 #D4AAE4

Accessibility & contrast

On white

4.67
#A64DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A64DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DC6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DC6#FFFFFF#000000##FFFFFF
##A64DC61.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276FCA
Deuteranopia (green-blind)
#4E77C3
Tritanopia (blue-blind)
#A46282
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64dc6;
/* rgb */ color: rgb(166, 77, 198);
/* oklch */ color: oklch(58.3% 0.193 316.1);
Tailwind
colors: {
  custom: {
    50: '#c384d8',
    500: '#a64dc6',
    950: '#000000',
  },
}
SCSS
$custom: #a64dc6;
$custom-light: #c384d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dc6",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 198
  },
  "hsl": {
    "h": 284.132,
    "s": 51.489,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58299,
    "c": 0.19262,
    "h": 316.1
  },
  "luminance": 0.17492
}

Semantic roles & 50–950 ramp

primary
#A64DC6
secondary
#ABD19E
accent
#DB4D72
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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