#A64FD3#A64FD3

#A64FD3 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.203 H 312.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A64FD3
RGBrgb(166, 79, 211)
HSLhsl(280, 60%, 57%)
HSVhsv(280, 63%, 83%)
CMYKcmyk(21.3%, 62.6%, 0%, 17.3%)
CIE-LABlab(49.98, 57.08, -53.40)
CIE-LCHlch(49.98, 78.16, 316.91°)
OKLaboklab(59.35% 0.1363 -0.1503)
OKLCHoklch(59.35% 0.203 312.2)
XYZxyz(30.2776, 18.4029, 63.5725)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FD3 #7CD34F
analogous
#644FD3 #A64FD3 #D34FBE
triadic
#A64FD3 #D3A64F #4FD3A6
tetradic
#A64FD3 #D3644F #7CD34F #4FBED3
square
#A64FD3 #D3644F #7CD34F #4FBED3
split-complementary
#A64FD3 #BED34F #4FD364
monochromatic
#642286 #882EB7 #A64FD3 #BF80DF #D8B1EB

Accessibility & contrast

On white

4.49
#A64FD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#A64FD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FD3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FD3#FFFFFF#000000##000000
##A64FD31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1472D7
Deuteranopia (green-blind)
#4579D0
Tritanopia (blue-blind)
#A1688A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64fd3;
/* rgb */ color: rgb(166, 79, 211);
/* oklch */ color: oklch(59.3% 0.203 312.2);
Tailwind
colors: {
  custom: {
    50: '#c485e1',
    500: '#a64fd3',
    950: '#000000',
  },
}
SCSS
$custom: #a64fd3;
$custom-light: #c485e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fd3",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 279.545,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.20285,
    "h": 312.2
  },
  "luminance": 0.18402
}

Semantic roles & 50–950 ramp

primary
#A64FD3
secondary
#B6DAA4
accent
#E3457B
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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