#A64FD6#A64FD6

#A64FD6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.206 H 311.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A64FD6
RGBrgb(166, 79, 214)
HSLhsl(279, 62%, 57%)
HSVhsv(279, 63%, 84%)
CMYKcmyk(22.4%, 63.1%, 0%, 16.1%)
CIE-LABlab(50.16, 57.72, -54.82)
CIE-LCHlch(50.16, 79.60, 316.47°)
OKLaboklab(59.53% 0.1362 -0.1544)
OKLCHoklch(59.53% 0.206 311.4)
XYZxyz(30.6572, 18.5547, 65.5717)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD6 #7FD64F
analogous
#634FD6 #A64FD6 #D64FC2
triadic
#A64FD6 #D6A64F #4FD6A6
tetradic
#A64FD6 #D6634F #7FD64F #4FC2D6
square
#A64FD6 #D6634F #7FD64F #4FC2D6
split-complementary
#A64FD6 #C2D64F #4FD663
monochromatic
#65208A #892CBC #A64FD6 #BF81E2 #D8B2ED

Accessibility & contrast

On white

4.46
#A64FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#A64FD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD6
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD6#FFFFFF#000000##000000
##A64FD61.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0973DA
Deuteranopia (green-blind)
#4279D3
Tritanopia (blue-blind)
#A0698C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64fd6;
/* rgb */ color: rgb(166, 79, 214);
/* oklch */ color: oklch(59.5% 0.206 311.4);
Tailwind
colors: {
  custom: {
    50: '#c485e3',
    500: '#a64fd6',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd6;
$custom-light: #c485e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd6",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 278.667,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.59534,
    "c": 0.20588,
    "h": 311.4
  },
  "luminance": 0.18554
}

Semantic roles & 50–950 ramp

primary
#A64FD6
secondary
#B9DCA5
accent
#E5437C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A64FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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