#A64FCD#A64FCD

#A64FCD is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.197 H 313.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A64FCD
RGBrgb(166, 79, 205)
HSLhsl(281, 56%, 56%)
HSVhsv(281, 61%, 80%)
CMYKcmyk(19%, 61.5%, 0%, 19.6%)
CIE-LABlab(49.63, 55.81, -50.53)
CIE-LCHlch(49.63, 75.29, 317.84°)
OKLaboklab(58.97% 0.1364 -0.1419)
OKLCHoklch(58.97% 0.197 313.9)
XYZxyz(29.5395, 18.1076, 59.6848)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FCD #76CD4F
analogous
#674FCD #A64FCD #CD4FB5
triadic
#A64FCD #CDA64F #4FCDA6
tetradic
#A64FCD #CD674F #76CD4F #4FB5CD
square
#A64FCD #CD674F #76CD4F #4FB5CD
split-complementary
#A64FCD #B5CD4F #4FCD67
monochromatic
#62247E #8731AE #A64FCD #BE7FDB #D6AEE8

Accessibility & contrast

On white

4.54
#A64FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A64FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FCD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FCD#FFFFFF#000000##000000
##A64FCD1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#A26687
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a64fcd;
/* rgb */ color: rgb(166, 79, 205);
/* oklch */ color: oklch(59.0% 0.197 313.9);
Tailwind
colors: {
  custom: {
    50: '#c485dd',
    500: '#a64fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a64fcd;
$custom-light: #c485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fcd",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 281.429,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.19677,
    "h": 313.9
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#A64FCD
secondary
#B2D6A2
accent
#DF4977
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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