#A64DE5#A64DE5

#A64DE5 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.224 H 307.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A64DE5
RGBrgb(166, 77, 229)
HSLhsl(275, 75%, 60%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.5%, 66.4%, 0%, 10.2%)
CIE-LABlab(50.77, 61.90, -62.35)
CIE-LCHlch(50.77, 87.86, 314.79°)
OKLaboklab(60.27% 0.1374 -0.1765)
OKLCHoklch(60.27% 0.224 307.9)
XYZxyz(32.5197, 19.0724, 76.0817)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DE5 #8CE54D
analogous
#5A4DE5 #A64DE5 #E54DD8
triadic
#A64DE5 #E5A64D #4DE5A6
tetradic
#A64DE5 #E55A4D #8CE54D #4DD8E5
square
#A64DE5 #E55A4D #8CE54D #4DD8E5
split-complementary
#A64DE5 #D8E54D #4DE55A
monochromatic
#6817A0 #8A1FD6 #A64DE5 #C182ED #DBB8F5

Accessibility & contrast

On white

4.36
#A64DE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A64DE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64DE5
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DE5#FFFFFF#000000##000000
##A64DE51.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#2C7AE2
Tritanopia (blue-blind)
#9C6E93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64de5;
/* rgb */ color: rgb(166, 77, 229);
/* oklch */ color: oklch(60.3% 0.224 307.9);
Tailwind
colors: {
  custom: {
    50: '#c585ee',
    500: '#a64de5',
    950: '#000000',
  },
}
SCSS
$custom: #a64de5;
$custom-light: #c585ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a64de5",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 229
  },
  "hsl": {
    "h": 275.132,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.2237,
    "h": 307.9
  },
  "luminance": 0.19072
}

Semantic roles & 50–950 ramp

primary
#A64DE5
secondary
#C2E4AA
accent
#F13784
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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