#A64AEF#A64AEF

#A64AEF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.6% C 0.237 H 306.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A64AEF
RGBrgb(166, 74, 239)
HSLhsl(273, 84%, 61%)
HSVhsv(273, 69%, 94%)
CMYKcmyk(30.5%, 69%, 0%, 6.3%)
CIE-LABlab(50.96, 65.43, -67.67)
CIE-LCHlch(50.96, 94.13, 314.04°)
OKLaboklab(60.62% 0.1394 -0.1921)
OKLCHoklch(60.62% 0.237 306)
XYZxyz(33.7512, 19.2368, 83.5796)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AEF #93EF4A
analogous
#544AEF #A64AEF #EF4AE5
triadic
#A64AEF #EFA64A #4AEFA6
tetradic
#A64AEF #EF544A #93EF4A #4AE5EF
square
#A64AEF #EF544A #93EF4A #4AE5EF
split-complementary
#A64AEF #E5EF4A #4AEF54
monochromatic
#680FAF #8A14E7 #A64AEF #C282F4 #DDBAF9

Accessibility & contrast

On white

4.33
#A64AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A64AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64AEF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AEF#FFFFFF#000000##000000
##A64AEF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#077AEB
Tritanopia (blue-blind)
#997097
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64aef;
/* rgb */ color: rgb(166, 74, 239);
/* oklch */ color: oklch(60.6% 0.237 306.0);
Tailwind
colors: {
  custom: {
    50: '#c683f5',
    500: '#a64aef',
    950: '#000000',
  },
}
SCSS
$custom: #a64aef;
$custom-light: #c683f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64aef",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 239
  },
  "hsl": {
    "h": 273.455,
    "s": 83.756,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.23734,
    "h": 306
  },
  "luminance": 0.19237
}

Semantic roles & 50–950 ramp

primary
#A64AEF
secondary
#C7E9AC
accent
#E00566
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B17
muted
#827C85

Preview Lab

Preview with #A64AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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