#A64EEB#A64EEB

#A64EEB is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.8% C 0.229 H 306.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#A64EEB
RGBrgb(166, 78, 235)
HSLhsl(274, 80%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(29.4%, 66.8%, 0%, 7.8%)
CIE-LABlab(51.33, 62.77, -64.83)
CIE-LCHlch(51.33, 90.24, 314.08°)
OKLaboklab(60.8% 0.1358 -0.1838)
OKLCHoklch(60.8% 0.229 306.4)
XYZxyz(33.4424, 19.5543, 80.5937)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EEB #93EB4E
analogous
#584EEB #A64EEB #EB4EE1
triadic
#A64EEB #EBA64E #4EEBA6
tetradic
#A64EEB #EB584E #93EB4E #4EE1EB
square
#A64EEB #EB584E #93EB4E #4EE1EB
split-complementary
#A64EEB #E1EB4E #4EEB58
monochromatic
#6813AB #8A1AE2 #A64EEB #C285F1 #DDBCF7

Accessibility & contrast

On white

4.28
#A64EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#A64EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64EEB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EEB#FFFFFF#000000##000000
##A64EEB1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#227BE8
Tritanopia (blue-blind)
#9A7196
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64eeb;
/* rgb */ color: rgb(166, 78, 235);
/* oklch */ color: oklch(60.8% 0.229 306.4);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a64eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a64eeb;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64eeb",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 273.631,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60799,
    "c": 0.2285,
    "h": 306.4
  },
  "luminance": 0.19554
}

Semantic roles & 50–950 ramp

primary
#A64EEB
secondary
#C7E8AD
accent
#DC0966
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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