#A64EF1#A64EF1

#A64EF1 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.2% C 0.235 H 305.2°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A64EF1
RGBrgb(166, 78, 241)
HSLhsl(272, 85%, 63%)
HSVhsv(272, 68%, 95%)
CMYKcmyk(31.1%, 67.6%, 0%, 5.5%)
CIE-LABlab(51.73, 64.11, -67.55)
CIE-LCHlch(51.73, 93.13, 313.51°)
OKLaboklab(61.22% 0.1351 -0.1918)
OKLCHoklch(61.22% 0.235 305.2)
XYZxyz(34.3239, 19.9069, 85.2362)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EF1 #99F14E
analogous
#554EF1 #A64EF1 #F14EEA
triadic
#A64EF1 #F1A64E #4EF1A6
tetradic
#A64EF1 #F1554E #99F14E #4EEAF1
square
#A64EF1 #F1554E #99F14E #4EEAF1
split-complementary
#A64EF1 #EAF14E #4EF155
monochromatic
#690EB6 #8915ED #A64EF1 #C387F5 #DFBFFA

Accessibility & contrast

On white

4.22
#A64EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A64EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64EF1
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EF1#FFFFFF#000000##000000
##A64EF11.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#107BEE
Tritanopia (blue-blind)
#98739A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a64ef1;
/* rgb */ color: rgb(166, 78, 241);
/* oklch */ color: oklch(61.2% 0.235 305.2);
Tailwind
colors: {
  custom: {
    50: '#c686f7',
    500: '#a64ef1',
    950: '#000000',
  },
}
SCSS
$custom: #a64ef1;
$custom-light: #c686f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ef1",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 241
  },
  "hsl": {
    "h": 272.393,
    "s": 85.34,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.23457,
    "h": 305.2
  },
  "luminance": 0.19907
}

Semantic roles & 50–950 ramp

primary
#A64EF1
secondary
#CBEBB0
accent
#E2046A
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85

Preview Lab

Preview with #A64EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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