#A64CAF#A64CAF

#A64CAF is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.9% C 0.172 H 323.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A64CAF
RGBrgb(166, 76, 175)
HSLhsl(295, 39%, 49%)
HSVhsv(295, 57%, 69%)
CMYKcmyk(5.1%, 56.6%, 0%, 31.4%)
CIE-LABlab(47.46, 51.24, -36.56)
CIE-LCHlch(47.46, 62.95, 324.49°)
OKLaboklab(56.87% 0.1389 -0.1012)
OKLCHoklch(56.87% 0.172 323.9)
XYZxyz(26.0475, 16.3724, 42.3373)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CAF #55AF4C
analogous
#754CAF #A64CAF #AF4C87
triadic
#A64CAF #AFA64C #4CAFA6
tetradic
#A64CAF #AF754C #55AF4C #4C87AF
square
#A64CAF #AF754C #55AF4C #4C87AF
split-complementary
#A64CAF #87AF4C #4CAF75
monochromatic
#55275A #7E3984 #A64CAF #BC75C3 #D1A0D6

Accessibility & contrast

On white

4.91
#A64CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A64CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CAF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CAF#FFFFFF#000000##FFFFFF
##A64CAF1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#5B74AC
Tritanopia (blue-blind)
#A95976
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64caf;
/* rgb */ color: rgb(166, 76, 175);
/* oklch */ color: oklch(56.9% 0.172 323.9);
Tailwind
colors: {
  custom: {
    50: '#c383c7',
    500: '#a64caf',
    950: '#000000',
  },
}
SCSS
$custom: #a64caf;
$custom-light: #c383c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64caf",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 294.545,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56865,
    "c": 0.17182,
    "h": 323.9
  },
  "luminance": 0.16371
}

Semantic roles & 50–950 ramp

primary
#A64CAF
secondary
#99C294
accent
#CF5863
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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