#A64FA5#A64FA5

#A64FA5 is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.7% C 0.158 H 327.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A64FA5
RGBrgb(166, 79, 165)
HSLhsl(301, 36%, 48%)
HSVhsv(301, 52%, 65%)
CMYKcmyk(0%, 52.4%, 0.6%, 34.9%)
CIE-LABlab(47.52, 47.91, -30.59)
CIE-LCHlch(47.52, 56.84, 327.45°)
OKLaboklab(56.75% 0.1336 -0.084)
OKLCHoklch(56.75% 0.158 327.8)
XYZxyz(25.3130, 16.4170, 37.4255)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FA5 #4FA650
analogous
#7B4FA6 #A64FA5 #A64F79
triadic
#A64FA5 #A5A64F #4FA5A6
tetradic
#A64FA5 #A67B4F #4FA650 #4F79A6
square
#A64FA5 #A67B4F #4FA650 #4F79A6
split-complementary
#A64FA5 #79A64F #4FA67B
monochromatic
#532853 #7D3B7C #A64FA5 #BD75BC #D19ED0

Accessibility & contrast

On white

4.90
#A64FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#A64FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FA5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FA5#FFFFFF#000000##FFFFFF
##A64FA51.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4769A8
Deuteranopia (green-blind)
#6275A2
Tritanopia (blue-blind)
#AB5873
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64fa5;
/* rgb */ color: rgb(166, 79, 165);
/* oklch */ color: oklch(56.7% 0.158 327.8);
Tailwind
colors: {
  custom: {
    50: '#c384c0',
    500: '#a64fa5',
    950: '#000000',
  },
}
SCSS
$custom: #a64fa5;
$custom-light: #c384c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fa5",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 300.69,
    "s": 35.51,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.15777,
    "h": 327.8
  },
  "luminance": 0.16416
}

Semantic roles & 50–950 ramp

primary
#A64FA5
secondary
#93BE93
accent
#CC5E5C
background
#FCF8FB
surface
#F8EFF7
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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