#A64FE7#A64FE7

#A64FE7 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.6% C 0.223 H 307.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A64FE7
RGBrgb(166, 79, 231)
HSLhsl(274, 76%, 61%)
HSVhsv(274, 66%, 91%)
CMYKcmyk(28.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(51.23, 61.43, -62.74)
CIE-LCHlch(51.23, 87.80, 314.40°)
OKLaboklab(60.65% 0.1351 -0.1777)
OKLCHoklch(60.65% 0.223 307.2)
XYZxyz(32.9426, 19.4689, 77.6082)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE7 #90E74F
analogous
#5A4FE7 #A64FE7 #E74FDC
triadic
#A64FE7 #E7A64F #4FE7A6
tetradic
#A64FE7 #E75A4F #90E74F #4FDCE7
square
#A64FE7 #E75A4F #90E74F #4FDCE7
split-complementary
#A64FE7 #DCE74F #4FE75A
monochromatic
#6817A5 #8A1EDB #A64FE7 #C185EE #DCBBF6

Accessibility & contrast

On white

4.29
#A64FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A64FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE7#FFFFFF#000000##000000
##A64FE71.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a64fe7;
/* rgb */ color: rgb(166, 79, 231);
/* oklch */ color: oklch(60.6% 0.223 307.2);
Tailwind
colors: {
  custom: {
    50: '#c586ef',
    500: '#a64fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe7;
$custom-light: #c586ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe7",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 274.342,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.22319,
    "h": 307.2
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#A64FE7
secondary
#C5E6AC
accent
#D80D64
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A64FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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