#A64FE4#A64FE4

#A64FE4 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.4% C 0.220 H 307.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A64FE4
RGBrgb(166, 79, 228)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(27.2%, 65.4%, 0%, 10.6%)
CIE-LABlab(51.04, 60.76, -61.36)
CIE-LCHlch(51.04, 86.35, 314.72°)
OKLaboklab(60.44% 0.1353 -0.1736)
OKLCHoklch(60.44% 0.22 307.9)
XYZxyz(32.5226, 19.3009, 75.3959)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE4 #8DE44F
analogous
#5C4FE4 #A64FE4 #E44FD7
triadic
#A64FE4 #E4A64F #4FE4A6
tetradic
#A64FE4 #E45C4F #8DE44F #4FD7E4
square
#A64FE4 #E45C4F #8DE44F #4FD7E4
split-complementary
#A64FE4 #D7E44F #4FE45C
monochromatic
#6819A0 #8A21D5 #A64FE4 #C184EC #DCB9F4

Accessibility & contrast

On white

4.32
#A64FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A64FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE4#FFFFFF#000000##000000
##A64FE41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#9C6E93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64fe4;
/* rgb */ color: rgb(166, 79, 228);
/* oklch */ color: oklch(60.4% 0.220 307.9);
Tailwind
colors: {
  custom: {
    50: '#c586ed',
    500: '#a64fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe4;
$custom-light: #c586ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe4",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 228
  },
  "hsl": {
    "h": 275.034,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60444,
    "c": 0.22013,
    "h": 307.9
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#A64FE4
secondary
#C3E4AB
accent
#D61062
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A64FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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