#A64FD4#A64FD4

#A64FD4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.204 H 311.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A64FD4
RGBrgb(166, 79, 212)
HSLhsl(279, 61%, 57%)
HSVhsv(279, 63%, 83%)
CMYKcmyk(21.7%, 62.7%, 0%, 16.9%)
CIE-LABlab(50.04, 57.29, -53.87)
CIE-LCHlch(50.04, 78.64, 316.76°)
OKLaboklab(59.41% 0.1362 -0.1517)
OKLCHoklch(59.41% 0.204 311.9)
XYZxyz(30.4034, 18.4532, 64.2348)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD4 #7DD44F
analogous
#644FD4 #A64FD4 #D44FC0
triadic
#A64FD4 #D4A64F #4FD4A6
tetradic
#A64FD4 #D4644F #7DD44F #4FC0D4
square
#A64FD4 #D4644F #7DD44F #4FC0D4
split-complementary
#A64FD4 #C0D44F #4FD464
monochromatic
#642187 #882DB9 #A64FD4 #BF80E0 #D8B1EC

Accessibility & contrast

On white

4.48
#A64FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#A64FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD4#FFFFFF#000000##000000
##A64FD41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1173D8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#A1698A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64fd4;
/* rgb */ color: rgb(166, 79, 212);
/* oklch */ color: oklch(59.4% 0.204 311.9);
Tailwind
colors: {
  custom: {
    50: '#c485e2',
    500: '#a64fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd4;
$custom-light: #c485e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd4",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 279.248,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59408,
    "c": 0.20386,
    "h": 311.9
  },
  "luminance": 0.18452
}

Semantic roles & 50–950 ramp

primary
#A64FD4
secondary
#B7DAA4
accent
#E4447B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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