#A64EC9#A64EC9

#A64EC9 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 58.6% C 0.194 H 315.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A64EC9
RGBrgb(166, 78, 201)
HSLhsl(283, 53%, 55%)
HSVhsv(283, 61%, 79%)
CMYKcmyk(17.4%, 61.2%, 0%, 21.2%)
CIE-LABlab(49.22, 55.45, -48.88)
CIE-LCHlch(49.22, 73.92, 318.60°)
OKLaboklab(58.61% 0.1376 -0.137)
OKLCHoklch(58.61% 0.194 315.1)
XYZxyz(28.9912, 17.7738, 57.1505)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EC9 #71C94E
analogous
#694EC9 #A64EC9 #C94EAF
triadic
#A64EC9 #C9A64E #4EC9A6
tetradic
#A64EC9 #C9694E #71C94E #4EAFC9
square
#A64EC9 #C9694E #71C94E #4EAFC9
split-complementary
#A64EC9 #AFC94E #4EC969
monochromatic
#602578 #8633A7 #A64EC9 #BE7DD7 #D5ACE6

Accessibility & contrast

On white

4.61
#A64EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A64EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EC9#FFFFFF#000000##FFFFFF
##A64EC91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CD
Deuteranopia (green-blind)
#4C77C6
Tritanopia (blue-blind)
#A36484
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64ec9;
/* rgb */ color: rgb(166, 78, 201);
/* oklch */ color: oklch(58.6% 0.194 315.1);
Tailwind
colors: {
  custom: {
    50: '#c484da',
    500: '#a64ec9',
    950: '#000000',
  },
}
SCSS
$custom: #a64ec9;
$custom-light: #c484da;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ec9",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 282.927,
    "s": 53.247,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.19418,
    "h": 315.1
  },
  "luminance": 0.17773
}

Semantic roles & 50–950 ramp

primary
#A64EC9
secondary
#AED39F
accent
#DD4B75
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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