#A64CE8#A64CE8

#A64CE8 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.4% C 0.228 H 307.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A64CE8
RGBrgb(166, 76, 232)
HSLhsl(275, 77%, 60%)
HSVhsv(275, 67%, 91%)
CMYKcmyk(28.4%, 67.2%, 0%, 9%)
CIE-LABlab(50.81, 63.01, -63.99)
CIE-LCHlch(50.81, 89.80, 314.56°)
OKLaboklab(60.36% 0.1382 -0.1813)
OKLCHoklch(60.36% 0.228 307.3)
XYZxyz(32.8727, 19.1025, 78.2837)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CE8 #8EE84C
analogous
#584CE8 #A64CE8 #E84CDC
triadic
#A64CE8 #E8A64C #4CE8A6
tetradic
#A64CE8 #E8584C #8EE84C #4CDCE8
square
#A64CE8 #E8584C #8EE84C #4CDCE8
split-complementary
#A64CE8 #DCE84C #4CE858
monochromatic
#6815A4 #8A1CDB #A64CE8 #C182EF #DCB8F6

Accessibility & contrast

On white

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

On black

4.82
#A64CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CE8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CE8#FFFFFF#000000##000000
##A64CE81.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#257AE5
Tritanopia (blue-blind)
#9B6E94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64ce8;
/* rgb */ color: rgb(166, 76, 232);
/* oklch */ color: oklch(60.4% 0.228 307.3);
Tailwind
colors: {
  custom: {
    50: '#c584f0',
    500: '#a64ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a64ce8;
$custom-light: #c584f0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ce8",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 232
  },
  "hsl": {
    "h": 274.615,
    "s": 77.228,
    "l": 60.392
  },
  "oklch": {
    "l": 0.60362,
    "c": 0.22796,
    "h": 307.3
  },
  "luminance": 0.19102
}

Semantic roles & 50–950 ramp

primary
#A64CE8
secondary
#C3E6AA
accent
#D90C63
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A64CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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