#A64CE1#A64CE1

#A64CE1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.221 H 308.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A64CE1
RGBrgb(166, 76, 225)
HSLhsl(276, 71%, 59%)
HSVhsv(276, 66%, 88%)
CMYKcmyk(26.2%, 66.2%, 0%, 11.8%)
CIE-LABlab(50.35, 61.48, -60.77)
CIE-LCHlch(50.35, 86.44, 315.33°)
OKLaboklab(59.89% 0.1389 -0.1719)
OKLCHoklch(59.89% 0.221 308.9)
XYZxyz(31.8982, 18.7127, 73.1511)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CE1 #87E14C
analogous
#5C4CE1 #A64CE1 #E14CD1
triadic
#A64CE1 #E1A64C #4CE1A6
tetradic
#A64CE1 #E15C4C #87E14C #4CD1E1
square
#A64CE1 #E15C4C #87E14C #4CD1E1
split-complementary
#A64CE1 #D1E14C #4CE15C
monochromatic
#671A99 #8A22CD #A64CE1 #C080EA #DAB5F3

Accessibility & contrast

On white

4.43
#A64CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A64CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CE1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CE1#FFFFFF#000000##000000
##A64CE11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#3179DE
Tritanopia (blue-blind)
#9D6C90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64ce1;
/* rgb */ color: rgb(166, 76, 225);
/* oklch */ color: oklch(59.9% 0.221 308.9);
Tailwind
colors: {
  custom: {
    50: '#c584eb',
    500: '#a64ce1',
    950: '#000000',
  },
}
SCSS
$custom: #a64ce1;
$custom-light: #c584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ce1",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 276.242,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59889,
    "c": 0.22095,
    "h": 308.9
  },
  "luminance": 0.18712
}

Semantic roles & 50–950 ramp

primary
#A64CE1
secondary
#BEE2A7
accent
#EE3A81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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