#A64EEA#A64EEA

#A64EEA is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.7% C 0.227 H 306.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A64EEA
RGBrgb(166, 78, 234)
HSLhsl(274, 79%, 61%)
HSVhsv(274, 67%, 92%)
CMYKcmyk(29.1%, 66.7%, 0%, 8.2%)
CIE-LABlab(51.26, 62.55, -64.38)
CIE-LCHlch(51.26, 89.76, 314.18°)
OKLaboklab(60.73% 0.1359 -0.1825)
OKLCHoklch(60.73% 0.227 306.7)
XYZxyz(33.2984, 19.4966, 79.8350)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EEA #92EA4E
analogous
#584EEA #A64EEA #EA4EE0
triadic
#A64EEA #EAA64E #4EEAA6
tetradic
#A64EEA #EA584E #92EA4E #4EE0EA
square
#A64EEA #EA584E #92EA4E #4EE0EA
split-complementary
#A64EEA #E0EA4E #4EEA58
monochromatic
#6814A9 #8A1BE0 #A64EEA #C285F0 #DDBBF7

Accessibility & contrast

On white

4.29
#A64EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A64EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64EEA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EEA#FFFFFF#000000##000000
##A64EEA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#257BE7
Tritanopia (blue-blind)
#9B7096
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64eea;
/* rgb */ color: rgb(166, 78, 234);
/* oklch */ color: oklch(60.7% 0.227 306.7);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a64eea',
    950: '#000000',
  },
}
SCSS
$custom: #a64eea;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64eea",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 234
  },
  "hsl": {
    "h": 273.846,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60731,
    "c": 0.22749,
    "h": 306.7
  },
  "luminance": 0.19496
}

Semantic roles & 50–950 ramp

primary
#A64EEA
secondary
#C6E7AD
accent
#DB0A65
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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