#A64EB9#A64EB9

#A64EB9 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.178 H 320.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A64EB9
RGBrgb(166, 78, 185)
HSLhsl(289, 43%, 52%)
HSVhsv(289, 58%, 73%)
CMYKcmyk(10.3%, 57.8%, 0%, 27.5%)
CIE-LABlab(48.34, 52.21, -41.03)
CIE-LCHlch(48.34, 66.40, 321.84°)
OKLaboklab(57.67% 0.137 -0.1141)
OKLCHoklch(57.67% 0.178 320.2)
XYZxyz(27.2062, 17.0598, 47.7493)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EB9 #61B94E
analogous
#714EB9 #A64EB9 #B94E97
triadic
#A64EB9 #B9A64E #4EB9A6
tetradic
#A64EB9 #B9714E #61B94E #4E97B9
square
#A64EB9 #B9714E #61B94E #4E97B9
split-complementary
#A64EB9 #97B94E #4EB971
monochromatic
#5A2865 #813991 #A64EB9 #BC7ACA #D2A6DC

Accessibility & contrast

On white

4.76
#A64EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A64EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EB9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EB9#FFFFFF#000000##FFFFFF
##A64EB91.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376DBC
Deuteranopia (green-blind)
#5776B6
Tritanopia (blue-blind)
#A75E7C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64eb9;
/* rgb */ color: rgb(166, 78, 185);
/* oklch */ color: oklch(57.7% 0.178 320.2);
Tailwind
colors: {
  custom: {
    50: '#c384ce',
    500: '#a64eb9',
    950: '#000000',
  },
}
SCSS
$custom: #a64eb9;
$custom-light: #c384ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a64eb9",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 289.346,
    "s": 43.32,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.17835,
    "h": 320.2
  },
  "luminance": 0.17059
}

Semantic roles & 50–950 ramp

primary
#A64EB9
secondary
#A2C99A
accent
#D3556B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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