#A64FE8#A64FE8

#A64FE8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.224 H 307.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A64FE8
RGBrgb(166, 79, 232)
HSLhsl(274, 77%, 61%)
HSVhsv(274, 66%, 91%)
CMYKcmyk(28.4%, 65.9%, 0%, 9%)
CIE-LABlab(51.30, 61.65, -63.20)
CIE-LCHlch(51.30, 88.29, 314.29°)
OKLaboklab(60.71% 0.135 -0.179)
OKLCHoklch(60.71% 0.224 307)
XYZxyz(33.0843, 19.5255, 78.3542)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE8 #91E84F
analogous
#594FE8 #A64FE8 #E84FDD
triadic
#A64FE8 #E8A64F #4FE8A6
tetradic
#A64FE8 #E8594F #91E84F #4FDDE8
square
#A64FE8 #E8594F #91E84F #4FDDE8
split-complementary
#A64FE8 #DDE84F #4FE859
monochromatic
#6816A7 #8A1DDD #A64FE8 #C185EF #DDBBF6

Accessibility & contrast

On white

4.28
#A64FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A64FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE8#FFFFFF#000000##000000
##A64FE81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#2A7BE5
Tritanopia (blue-blind)
#9B7095
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64fe8;
/* rgb */ color: rgb(166, 79, 232);
/* oklch */ color: oklch(60.7% 0.224 307.0);
Tailwind
colors: {
  custom: {
    50: '#c586f0',
    500: '#a64fe8',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe8;
$custom-light: #c586f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe8",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 232
  },
  "hsl": {
    "h": 274.118,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.2242,
    "h": 307
  },
  "luminance": 0.19525
}

Semantic roles & 50–950 ramp

primary
#A64FE8
secondary
#C5E6AD
accent
#D90C65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A64FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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