#A64DCD#A64DCD

#A64DCD is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.7% C 0.200 H 314.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A64DCD
RGBrgb(166, 77, 205)
HSLhsl(282, 56%, 55%)
HSVhsv(282, 62%, 80%)
CMYKcmyk(19%, 62.4%, 0%, 19.6%)
CIE-LABlab(49.28, 56.75, -51.08)
CIE-LCHlch(49.28, 76.36, 318.01°)
OKLaboklab(58.72% 0.1388 -0.1435)
OKLCHoklch(58.72% 0.2 314)
XYZxyz(29.3974, 17.8234, 59.6375)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DCD #74CD4D
analogous
#664DCD #A64DCD #CD4DB4
triadic
#A64DCD #CDA64D #4DCDA6
tetradic
#A64DCD #CD664D #74CD4D #4DB4CD
square
#A64DCD #CD664D #74CD4D #4DB4CD
split-complementary
#A64DCD #B4CD4D #4DCD66
monochromatic
#61237D #8730AC #A64DCD #BE7DDA #D6ADE8

Accessibility & contrast

On white

4.60
#A64DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A64DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DCD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DCD#FFFFFF#000000##FFFFFF
##A64DCD1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#4877CA
Tritanopia (blue-blind)
#A36586
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64dcd;
/* rgb */ color: rgb(166, 77, 205);
/* oklch */ color: oklch(58.7% 0.200 314.0);
Tailwind
colors: {
  custom: {
    50: '#c484dd',
    500: '#a64dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a64dcd;
$custom-light: #c484dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dcd",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 281.719,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.58724,
    "c": 0.19959,
    "h": 314
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#A64DCD
secondary
#B0D6A0
accent
#DF4876
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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