#A64EE5#A64EE5

#A64EE5 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.222 H 307.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A64EE5
RGBrgb(166, 78, 229)
HSLhsl(275, 74%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.5%, 65.9%, 0%, 10.2%)
CIE-LABlab(50.94, 61.44, -62.09)
CIE-LCHlch(50.94, 87.35, 314.70°)
OKLaboklab(60.39% 0.1363 -0.1757)
OKLCHoklch(60.39% 0.222 307.8)
XYZxyz(32.5902, 19.2134, 76.1052)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EE5 #8DE54E
analogous
#5B4EE5 #A64EE5 #E54ED8
triadic
#A64EE5 #E5A64E #4EE5A6
tetradic
#A64EE5 #E55B4E #8DE54E #4ED8E5
square
#A64EE5 #E55B4E #8DE54E #4ED8E5
split-complementary
#A64EE5 #D8E54E #4EE55B
monochromatic
#6818A1 #8A1FD6 #A64EE5 #C183ED #DCB9F5

Accessibility & contrast

On white

4.34
#A64EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A64EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64EE5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EE5#FFFFFF#000000##000000
##A64EE51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2E7AE2
Tritanopia (blue-blind)
#9C6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64ee5;
/* rgb */ color: rgb(166, 78, 229);
/* oklch */ color: oklch(60.4% 0.222 307.8);
Tailwind
colors: {
  custom: {
    50: '#c585ee',
    500: '#a64ee5',
    950: '#000000',
  },
}
SCSS
$custom: #a64ee5;
$custom-light: #c585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ee5",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 274.967,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60392,
    "c": 0.22243,
    "h": 307.8
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#A64EE5
secondary
#C3E4AA
accent
#D70F62
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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