#A64EE7#A64EE7

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

Color values

HEX#A64EE7
RGBrgb(166, 78, 231)
HSLhsl(275, 76%, 61%)
HSVhsv(275, 66%, 91%)
CMYKcmyk(28.1%, 66.2%, 0%, 9.4%)
CIE-LABlab(51.07, 61.89, -63.00)
CIE-LCHlch(51.07, 88.31, 314.49°)
OKLaboklab(60.53% 0.1362 -0.1784)
OKLCHoklch(60.53% 0.224 307.3)
XYZxyz(32.8711, 19.3257, 77.5844)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EE7 #8FE74E
analogous
#594EE7 #A64EE7 #E74EDB
triadic
#A64EE7 #E7A64E #4EE7A6
tetradic
#A64EE7 #E7594E #8FE74E #4EDBE7
square
#A64EE7 #E7594E #8FE74E #4EDBE7
split-complementary
#A64EE7 #DBE74E #4EE759
monochromatic
#6816A4 #8A1EDA #A64EE7 #C184EE #DCBAF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64EE7#FFFFFF#000000##000000
##A64EE71.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#2A7AE4
Tritanopia (blue-blind)
#9B6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64ee7;
/* rgb */ color: rgb(166, 78, 231);
/* oklch */ color: oklch(60.5% 0.224 307.3);
Tailwind
colors: {
  custom: {
    50: '#c585ef',
    500: '#a64ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a64ee7;
$custom-light: #c585ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ee7",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 274.51,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.22446,
    "h": 307.3
  },
  "luminance": 0.19325
}

Semantic roles & 50–950 ramp

primary
#A64EE7
secondary
#C4E5AB
accent
#D80D63
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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