#A64FAC#A64FAC

#A64FAC is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.1% C 0.164 H 325.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A64FAC
RGBrgb(166, 79, 172)
HSLhsl(296, 37%, 49%)
HSVhsv(296, 54%, 67%)
CMYKcmyk(3.5%, 54.1%, 0%, 32.5%)
CIE-LABlab(47.85, 49.21, -34.18)
CIE-LCHlch(47.85, 59.92, 325.22°)
OKLaboklab(57.11% 0.1345 -0.0943)
OKLCHoklch(57.11% 0.164 325)
XYZxyz(25.9676, 16.6789, 40.8733)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FAC #55AC4F
analogous
#784FAC #A64FAC #AC4F84
triadic
#A64FAC #ACA64F #4FACA6
tetradic
#A64FAC #AC784F #55AC4F #4F84AC
square
#A64FAC #AC784F #55AC4F #4F84AC
split-complementary
#A64FAC #84AC4F #4FAC78
monochromatic
#552858 #7E3C82 #A64FAC #BC77C1 #D1A1D4

Accessibility & contrast

On white

4.84
#A64FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#A64FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FAC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FAC#FFFFFF#000000##FFFFFF
##A64FAC1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436BAF
Deuteranopia (green-blind)
#5F75A9
Tritanopia (blue-blind)
#A95B76
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64fac;
/* rgb */ color: rgb(166, 79, 172);
/* oklch */ color: oklch(57.1% 0.164 325.0);
Tailwind
colors: {
  custom: {
    50: '#c384c5',
    500: '#a64fac',
    950: '#000000',
  },
}
SCSS
$custom: #a64fac;
$custom-light: #c384c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fac",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 296.129,
    "s": 37.052,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57105,
    "c": 0.16428,
    "h": 325
  },
  "luminance": 0.16678
}

Semantic roles & 50–950 ramp

primary
#A64FAC
secondary
#99C196
accent
#CD5B62
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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