#A64CD7#A64CD7

#A64CD7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.211 H 311.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A64CD7
RGBrgb(166, 76, 215)
HSLhsl(279, 63%, 57%)
HSVhsv(279, 65%, 84%)
CMYKcmyk(22.8%, 64.7%, 0%, 15.7%)
CIE-LABlab(49.72, 59.33, -56.11)
CIE-LCHlch(49.72, 81.65, 316.60°)
OKLaboklab(59.23% 0.1396 -0.1582)
OKLCHoklch(59.23% 0.211 311.4)
XYZxyz(30.5738, 18.1829, 66.1759)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CD7 #7DD74C
analogous
#614CD7 #A64CD7 #D74CC2
triadic
#A64CD7 #D7A64C #4CD7A6
tetradic
#A64CD7 #D7614C #7DD74C #4CC2D7
square
#A64CD7 #D7614C #7DD74C #4CC2D7
split-complementary
#A64CD7 #C2D74C #4CD761
monochromatic
#641F8A #882ABC #A64CD7 #BF7EE2 #D8B0ED

Accessibility & contrast

On white

4.53
#A64CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A64CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CD7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CD7#FFFFFF#000000##000000
##A64CD71.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#A0688B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a64cd7;
/* rgb */ color: rgb(166, 76, 215);
/* oklch */ color: oklch(59.2% 0.211 311.4);
Tailwind
colors: {
  custom: {
    50: '#c484e4',
    500: '#a64cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a64cd7;
$custom-light: #c484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cd7",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 278.849,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.21095,
    "h": 311.4
  },
  "luminance": 0.18182
}

Semantic roles & 50–950 ramp

primary
#A64CD7
secondary
#B7DCA3
accent
#E6417C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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