#A64CC2#A64CC2

#A64CC2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.190 H 317.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A64CC2
RGBrgb(166, 76, 194)
HSLhsl(286, 49%, 53%)
HSVhsv(286, 61%, 76%)
CMYKcmyk(14.4%, 60.8%, 0%, 23.9%)
CIE-LABlab(48.48, 54.96, -46.03)
CIE-LCHlch(48.48, 71.69, 320.06°)
OKLaboklab(57.94% 0.14 -0.1287)
OKLCHoklch(57.94% 0.19 317.4)
XYZxyz(28.0465, 17.1720, 52.8656)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CC2 #68C24C
analogous
#6B4CC2 #A64CC2 #C24CA3
triadic
#A64CC2 #C2A64C #4CC2A6
tetradic
#A64CC2 #C26B4C #68C24C #4CA3C2
square
#A64CC2 #C26B4C #68C24C #4CA3C2
split-complementary
#A64CC2 #A3C24C #4CC26B
monochromatic
#5D266E #83359C #A64CC2 #BD7AD2 #D3A7E1

Accessibility & contrast

On white

4.74
#A64CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A64CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CC2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CC2#FFFFFF#000000##FFFFFF
##A64CC21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#5076BF
Tritanopia (blue-blind)
#A56080
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64cc2;
/* rgb */ color: rgb(166, 76, 194);
/* oklch */ color: oklch(57.9% 0.190 317.4);
Tailwind
colors: {
  custom: {
    50: '#c383d5',
    500: '#a64cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a64cc2;
$custom-light: #c383d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cc2",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 285.763,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.19012,
    "h": 317.4
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#A64CC2
secondary
#A7CE9B
accent
#D94F70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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