#A64FE1#A64FE1

#A64FE1 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.2% C 0.217 H 308.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A64FE1
RGBrgb(166, 79, 225)
HSLhsl(276, 71%, 60%)
HSVhsv(276, 65%, 88%)
CMYKcmyk(26.2%, 64.9%, 0%, 11.8%)
CIE-LABlab(50.85, 60.10, -59.97)
CIE-LCHlch(50.85, 84.91, 315.06°)
OKLaboklab(60.25% 0.1356 -0.1695)
OKLCHoklch(60.25% 0.217 308.6)
XYZxyz(32.1097, 19.1357, 73.2216)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE1 #8AE14F
analogous
#5D4FE1 #A64FE1 #E14FD3
triadic
#A64FE1 #E1A64F #4FE1A6
tetradic
#A64FE1 #E15D4F #8AE14F #4FD3E1
square
#A64FE1 #E15D4F #8AE14F #4FD3E1
split-complementary
#A64FE1 #D3E14F #4FE15D
monochromatic
#671A9B #8A23CF #A64FE1 #C083EA #DBB8F3

Accessibility & contrast

On white

4.35
#A64FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A64FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE1#FFFFFF#000000##000000
##A64FE11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E5
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#9D6D91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64fe1;
/* rgb */ color: rgb(166, 79, 225);
/* oklch */ color: oklch(60.2% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#c586eb',
    500: '#a64fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe1;
$custom-light: #c586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe1",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 275.753,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60245,
    "c": 0.21707,
    "h": 308.6
  },
  "luminance": 0.19135
}

Semantic roles & 50–950 ramp

primary
#A64FE1
secondary
#C0E2AA
accent
#EE3A83
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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