#A64DA2#A64DA2

#A64DA2 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.3% C 0.158 H 329.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A64DA2
RGBrgb(166, 77, 162)
HSLhsl(303, 37%, 48%)
HSVhsv(303, 54%, 65%)
CMYKcmyk(0%, 53.6%, 2.4%, 34.9%)
CIE-LABlab(47.01, 48.35, -29.61)
CIE-LCHlch(47.01, 56.70, 328.52°)
OKLaboklab(56.33% 0.1359 -0.0812)
OKLCHoklch(56.33% 0.158 329.2)
XYZxyz(24.9011, 16.0249, 35.9569)
Luminance0.1602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DA2 #4DA651
analogous
#7E4DA6 #A64DA2 #A64D75
triadic
#A64DA2 #A2A64D #4DA2A6
tetradic
#A64DA2 #A67E4D #4DA651 #4D75A6
square
#A64DA2 #A67E4D #4DA651 #4D75A6
split-complementary
#A64DA2 #75A64D #4DA67E
monochromatic
#522650 #7C3A79 #A64DA2 #BE72BA #D19CCF

Accessibility & contrast

On white

4.99
#A64DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A64DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DA2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DA2#FFFFFF#000000##FFFFFF
##A64DA21.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4768A5
Deuteranopia (green-blind)
#62749F
Tritanopia (blue-blind)
#AB5670
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a64da2;
/* rgb */ color: rgb(166, 77, 162);
/* oklch */ color: oklch(56.3% 0.158 329.2);
Tailwind
colors: {
  custom: {
    50: '#c383be',
    500: '#a64da2',
    950: '#000000',
  },
}
SCSS
$custom: #a64da2;
$custom-light: #c383be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64da2",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 162
  },
  "hsl": {
    "h": 302.697,
    "s": 36.626,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56326,
    "c": 0.15829,
    "h": 329.2
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#A64DA2
secondary
#91BE93
accent
#CD605B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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