#A64CD8#A64CD8

#A64CD8 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.212 H 311.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A64CD8
RGBrgb(166, 76, 216)
HSLhsl(279, 64%, 57%)
HSVhsv(279, 65%, 85%)
CMYKcmyk(23.1%, 64.8%, 0%, 15.3%)
CIE-LABlab(49.78, 59.54, -56.58)
CIE-LCHlch(49.78, 82.13, 316.46°)
OKLaboklab(59.3% 0.1395 -0.1596)
OKLCHoklch(59.3% 0.212 311.2)
XYZxyz(30.7027, 18.2345, 66.8547)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CD8 #7ED84C
analogous
#604CD8 #A64CD8 #D84CC4
triadic
#A64CD8 #D8A64C #4CD8A6
tetradic
#A64CD8 #D8604C #7ED84C #4CC4D8
square
#A64CD8 #D8604C #7ED84C #4CC4D8
split-complementary
#A64CD8 #C4D84C #4CD860
monochromatic
#641E8B #8929BE #A64CD8 #BF7EE3 #D8B1EE

Accessibility & contrast

On white

4.52
#A64CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A64CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CD8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CD8#FFFFFF#000000##000000
##A64CD81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DC
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#A0688C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a64cd8;
/* rgb */ color: rgb(166, 76, 216);
/* oklch */ color: oklch(59.3% 0.212 311.2);
Tailwind
colors: {
  custom: {
    50: '#c484e5',
    500: '#a64cd8',
    950: '#000000',
  },
}
SCSS
$custom: #a64cd8;
$custom-light: #c484e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cd8",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 278.571,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.21194,
    "h": 311.2
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#A64CD8
secondary
#B8DCA4
accent
#E7417C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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