#A64FB9#A64FB9

#A64FB9 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.8% C 0.177 H 320.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A64FB9
RGBrgb(166, 79, 185)
HSLhsl(289, 43%, 52%)
HSVhsv(289, 57%, 73%)
CMYKcmyk(10.3%, 57.3%, 0%, 27.5%)
CIE-LABlab(48.51, 51.73, -40.74)
CIE-LCHlch(48.51, 65.85, 321.77°)
OKLaboklab(57.8% 0.1357 -0.1133)
OKLCHoklch(57.8% 0.177 320.1)
XYZxyz(27.2778, 17.2029, 47.7732)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB9 #62B94F
analogous
#714FB9 #A64FB9 #B94F97
triadic
#A64FB9 #B9A64F #4FB9A6
tetradic
#A64FB9 #B9714F #62B94F #4F97B9
square
#A64FB9 #B9714F #62B94F #4F97B9
split-complementary
#A64FB9 #97B94F #4FB971
monochromatic
#5A2865 #813A91 #A64FB9 #BC7BCA #D2A7DC

Accessibility & contrast

On white

4.73
#A64FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#A64FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB9#FFFFFF#000000##FFFFFF
##A64FB91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396DBC
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#A75F7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64fb9;
/* rgb */ color: rgb(166, 79, 185);
/* oklch */ color: oklch(57.8% 0.177 320.1);
Tailwind
colors: {
  custom: {
    50: '#c385ce',
    500: '#a64fb9',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb9;
$custom-light: #c385ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb9",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 289.245,
    "s": 43.089,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57805,
    "c": 0.17682,
    "h": 320.1
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#A64FB9
secondary
#A3C99B
accent
#D3556C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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