#A64DC1#A64DC1

#A64DC1 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.188 H 317.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A64DC1
RGBrgb(166, 77, 193)
HSLhsl(286, 48%, 53%)
HSVhsv(286, 60%, 76%)
CMYKcmyk(14%, 60.1%, 0%, 24.3%)
CIE-LABlab(48.59, 54.29, -45.26)
CIE-LCHlch(48.59, 70.68, 320.18°)
OKLaboklab(58% 0.1387 -0.1265)
OKLCHoklch(58% 0.188 317.6)
XYZxyz(28.0040, 17.2661, 52.2993)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DC1 #68C14D
analogous
#6C4DC1 #A64DC1 #C14DA2
triadic
#A64DC1 #C1A64D #4DC1A6
tetradic
#A64DC1 #C16C4D #68C14D #4DA2C1
square
#A64DC1 #C16C4D #68C14D #4DA2C1
split-complementary
#A64DC1 #A2C14D #4DC16C
monochromatic
#5D266D #83369B #A64DC1 #BD7AD1 #D3A8E1

Accessibility & contrast

On white

4.72
#A64DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A64DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DC1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DC1#FFFFFF#000000##FFFFFF
##A64DC11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC5
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#A56080
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64dc1;
/* rgb */ color: rgb(166, 77, 193);
/* oklch */ color: oklch(58.0% 0.188 317.6);
Tailwind
colors: {
  custom: {
    50: '#c384d4',
    500: '#a64dc1',
    950: '#000000',
  },
}
SCSS
$custom: #a64dc1;
$custom-light: #c384d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dc1",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 193
  },
  "hsl": {
    "h": 286.034,
    "s": 48.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.18768,
    "h": 317.6
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#A64DC1
secondary
#A8CE9C
accent
#D85070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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