#A64AE2#A64AE2

#A64AE2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.224 H 308.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A64AE2
RGBrgb(166, 74, 226)
HSLhsl(276, 72%, 59%)
HSVhsv(276, 67%, 89%)
CMYKcmyk(26.5%, 67.3%, 0%, 11.4%)
CIE-LABlab(50.09, 62.59, -61.75)
CIE-LCHlch(50.09, 87.92, 315.39°)
OKLaboklab(59.72% 0.1409 -0.1747)
OKLCHoklch(59.72% 0.224 308.9)
XYZxyz(31.8994, 18.4961, 73.8264)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AE2 #86E24A
analogous
#5A4AE2 #A64AE2 #E24AD2
triadic
#A64AE2 #E2A64A #4AE2A6
tetradic
#A64AE2 #E25A4A #86E24A #4AD2E2
square
#A64AE2 #E25A4A #86E24A #4AD2E2
split-complementary
#A64AE2 #D2E24A #4AE25A
monochromatic
#661999 #8A21CE #A64AE2 #C07FEA #DAB3F3

Accessibility & contrast

On white

4.47
#A64AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#A64AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64AE2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AE2#FFFFFF#000000##000000
##A64AE21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#2C78DF
Tritanopia (blue-blind)
#9D6B90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64ae2;
/* rgb */ color: rgb(166, 74, 226);
/* oklch */ color: oklch(59.7% 0.224 308.9);
Tailwind
colors: {
  custom: {
    50: '#c583ec',
    500: '#a64ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ae2;
$custom-light: #c583ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ae2",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 276.316,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59725,
    "c": 0.22446,
    "h": 308.9
  },
  "luminance": 0.18496
}

Semantic roles & 50–950 ramp

primary
#A64AE2
secondary
#BEE2A6
accent
#EF3981
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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