#A64FD8#A64FD8

#A64FD8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.208 H 310.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A64FD8
RGBrgb(166, 79, 216)
HSLhsl(278, 64%, 58%)
HSVhsv(278, 63%, 85%)
CMYKcmyk(23.1%, 63.4%, 0%, 15.3%)
CIE-LABlab(50.28, 58.15, -55.77)
CIE-LCHlch(50.28, 80.57, 316.20°)
OKLaboklab(59.66% 0.1361 -0.1572)
OKLCHoklch(59.66% 0.208 310.9)
XYZxyz(30.9142, 18.6575, 66.9252)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD8 #81D84F
analogous
#614FD8 #A64FD8 #D84FC6
triadic
#A64FD8 #D8A64F #4FD8A6
tetradic
#A64FD8 #D8614F #81D84F #4FC6D8
square
#A64FD8 #D8614F #81D84F #4FC6D8
split-complementary
#A64FD8 #C6D84F #4FD861
monochromatic
#651F8D #892ABF #A64FD8 #BF81E3 #D9B3EE

Accessibility & contrast

On white

4.44
#A64FD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A64FD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD8#FFFFFF#000000##000000
##A64FD81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#A06A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64fd8;
/* rgb */ color: rgb(166, 79, 216);
/* oklch */ color: oklch(59.7% 0.208 310.9);
Tailwind
colors: {
  custom: {
    50: '#c485e5',
    500: '#a64fd8',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd8;
$custom-light: #c485e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd8",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 216
  },
  "hsl": {
    "h": 278.102,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59661,
    "c": 0.20792,
    "h": 310.9
  },
  "luminance": 0.18657
}

Semantic roles & 50–950 ramp

primary
#A64FD8
secondary
#BADDA6
accent
#E7417E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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