#A64FA2#A64FA2

#A64FA2 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 56.6% C 0.155 H 329.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A64FA2
RGBrgb(166, 79, 162)
HSLhsl(303, 36%, 48%)
HSVhsv(303, 52%, 65%)
CMYKcmyk(0%, 52.4%, 2.4%, 34.9%)
CIE-LABlab(47.38, 47.37, -29.03)
CIE-LCHlch(47.38, 55.55, 328.50°)
OKLaboklab(56.6% 0.1331 -0.0795)
OKLCHoklch(56.6% 0.155 329.1)
XYZxyz(25.0432, 16.3091, 36.0043)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FA2 #4FA653
analogous
#7E4FA6 #A64FA2 #A64F76
triadic
#A64FA2 #A2A64F #4FA2A6
tetradic
#A64FA2 #A67E4F #4FA653 #4F76A6
square
#A64FA2 #A67E4F #4FA653 #4F76A6
split-complementary
#A64FA2 #76A64F #4FA67E
monochromatic
#532851 #7D3B7A #A64FA2 #BD75BA #D19ECF

Accessibility & contrast

On white

4.93
#A64FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A64FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FA2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FA2#FFFFFF#000000##FFFFFF
##A64FA21.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4969A5
Deuteranopia (green-blind)
#63759F
Tritanopia (blue-blind)
#AB5771
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64fa2;
/* rgb */ color: rgb(166, 79, 162);
/* oklch */ color: oklch(56.6% 0.155 329.1);
Tailwind
colors: {
  custom: {
    50: '#c384be',
    500: '#a64fa2',
    950: '#000000',
  },
}
SCSS
$custom: #a64fa2;
$custom-light: #c384be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fa2",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 302.759,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56599,
    "c": 0.15504,
    "h": 329.1
  },
  "luminance": 0.16308
}

Semantic roles & 50–950 ramp

primary
#A64FA2
secondary
#93BE95
accent
#CC615C
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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