#A64AC2#A64AC2

#A64AC2 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.7% C 0.193 H 317.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A64AC2
RGBrgb(166, 74, 194)
HSLhsl(286, 50%, 53%)
HSVhsv(286, 62%, 76%)
CMYKcmyk(14.4%, 61.9%, 0%, 23.9%)
CIE-LABlab(48.13, 55.90, -46.57)
CIE-LCHlch(48.13, 72.76, 320.20°)
OKLaboklab(57.69% 0.1424 -0.1303)
OKLCHoklch(57.69% 0.193 317.5)
XYZxyz(27.9109, 16.9007, 52.8204)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AC2 #66C24A
analogous
#6A4AC2 #A64AC2 #C24AA2
triadic
#A64AC2 #C2A64A #4AC2A6
tetradic
#A64AC2 #C26A4A #66C24A #4AA2C2
square
#A64AC2 #C26A4A #66C24A #4AA2C2
split-complementary
#A64AC2 #A2C24A #4AC26A
monochromatic
#5C256D #83349B #A64AC2 #BD78D1 #D3A6E1

Accessibility & contrast

On white

4.79
#A64AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A64AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64AC2
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AC2#FFFFFF#000000##FFFFFF
##A64AC21.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266CC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A55F7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64ac2;
/* rgb */ color: rgb(166, 74, 194);
/* oklch */ color: oklch(57.7% 0.193 317.5);
Tailwind
colors: {
  custom: {
    50: '#c382d5',
    500: '#a64ac2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ac2;
$custom-light: #c382d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ac2",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 286,
    "s": 49.587,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57688,
    "c": 0.19299,
    "h": 317.5
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#A64AC2
secondary
#A6CE9A
accent
#D94F6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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