#A64EE4#A64EE4

#A64EE4 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.3% C 0.221 H 308.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A64EE4
RGBrgb(166, 78, 228)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27.2%, 65.8%, 0%, 10.6%)
CIE-LABlab(50.87, 61.22, -61.63)
CIE-LCHlch(50.87, 86.87, 314.81°)
OKLaboklab(60.33% 0.1364 -0.1744)
OKLCHoklch(60.33% 0.221 308)
XYZxyz(32.4510, 19.1577, 75.3720)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EE4 #8CE44E
analogous
#5B4EE4 #A64EE4 #E44ED7
triadic
#A64EE4 #E4A64E #4EE4A6
tetradic
#A64EE4 #E45B4E #8CE44E #4ED7E4
square
#A64EE4 #E45B4E #8CE44E #4ED7E4
split-complementary
#A64EE4 #D7E44E #4EE45B
monochromatic
#67189F #8A20D4 #A64EE4 #C183EC #DBB8F4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64EE4#FFFFFF#000000##000000
##A64EE41.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)
#0076E9
Deuteranopia (green-blind)
#2F7AE1
Tritanopia (blue-blind)
#9C6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64ee4;
/* rgb */ color: rgb(166, 78, 228);
/* oklch */ color: oklch(60.3% 0.221 308.0);
Tailwind
colors: {
  custom: {
    50: '#c585ed',
    500: '#a64ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a64ee4;
$custom-light: #c585ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ee4",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 275.2,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.22142,
    "h": 308
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#A64EE4
secondary
#C2E4AA
accent
#F03884
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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