#A64FD7#A64FD7

#A64FD7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.6% C 0.207 H 311.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A64FD7
RGBrgb(166, 79, 215)
HSLhsl(278, 63%, 58%)
HSVhsv(278, 63%, 84%)
CMYKcmyk(22.8%, 63.3%, 0%, 15.7%)
CIE-LABlab(50.22, 57.93, -55.29)
CIE-LCHlch(50.22, 80.09, 316.34°)
OKLaboklab(59.6% 0.1361 -0.1558)
OKLCHoklch(59.6% 0.207 311.1)
XYZxyz(30.7853, 18.6060, 66.2464)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD7 #80D74F
analogous
#624FD7 #A64FD7 #D74FC4
triadic
#A64FD7 #D7A64F #4FD7A6
tetradic
#A64FD7 #D7624F #80D74F #4FC4D7
square
#A64FD7 #D7624F #80D74F #4FC4D7
split-complementary
#A64FD7 #C4D74F #4FD762
monochromatic
#65208C #892BBE #A64FD7 #BF81E2 #D8B3EE

Accessibility & contrast

On white

4.45
#A64FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A64FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD7#FFFFFF#000000##000000
##A64FD71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0473DB
Deuteranopia (green-blind)
#4179D4
Tritanopia (blue-blind)
#A06A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64fd7;
/* rgb */ color: rgb(166, 79, 215);
/* oklch */ color: oklch(59.6% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#c485e4',
    500: '#a64fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd7;
$custom-light: #c485e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd7",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 278.382,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59597,
    "c": 0.2069,
    "h": 311.1
  },
  "luminance": 0.18605
}

Semantic roles & 50–950 ramp

primary
#A64FD7
secondary
#B9DCA6
accent
#E6427D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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