#A64FE5#A64FE5

#A64FE5 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.5% C 0.221 H 307.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A64FE5
RGBrgb(166, 79, 229)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.5%, 65.5%, 0%, 10.2%)
CIE-LABlab(51.10, 60.99, -61.82)
CIE-LCHlch(51.10, 86.84, 314.61°)
OKLaboklab(60.51% 0.1353 -0.175)
OKLCHoklch(60.51% 0.221 307.7)
XYZxyz(32.6618, 19.3565, 76.1291)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE5 #8EE54F
analogous
#5B4FE5 #A64FE5 #E54FD9
triadic
#A64FE5 #E5A64F #4FE5A6
tetradic
#A64FE5 #E55B4F #8EE54F #4FD9E5
square
#A64FE5 #E55B4F #8EE54F #4FD9E5
split-complementary
#A64FE5 #D9E54F #4FE55B
monochromatic
#6818A2 #8A20D7 #A64FE5 #C184ED #DCBAF5

Accessibility & contrast

On white

4.31
#A64FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A64FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE5#FFFFFF#000000##000000
##A64FE51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#9C6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64fe5;
/* rgb */ color: rgb(166, 79, 229);
/* oklch */ color: oklch(60.5% 0.221 307.7);
Tailwind
colors: {
  custom: {
    50: '#c586ee',
    500: '#a64fe5',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe5;
$custom-light: #c586ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe5",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 229
  },
  "hsl": {
    "h": 274.8,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60511,
    "c": 0.22115,
    "h": 307.7
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#A64FE5
secondary
#C3E5AB
accent
#D60F63
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A64FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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