#A64FE6#A64FE6

#A64FE6 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.222 H 307.5°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A64FE6
RGBrgb(166, 79, 230)
HSLhsl(275, 75%, 61%)
HSVhsv(275, 66%, 90%)
CMYKcmyk(27.8%, 65.7%, 0%, 9.8%)
CIE-LABlab(51.17, 61.21, -62.28)
CIE-LCHlch(51.17, 87.32, 314.50°)
OKLaboklab(60.58% 0.1352 -0.1763)
OKLCHoklch(60.58% 0.222 307.5)
XYZxyz(32.8018, 19.4126, 76.8666)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE6 #8FE64F
analogous
#5B4FE6 #A64FE6 #E64FDA
triadic
#A64FE6 #E6A64F #4FE6A6
tetradic
#A64FE6 #E65B4F #8FE64F #4FDAE6
square
#A64FE6 #E65B4F #8FE64F #4FDAE6
split-complementary
#A64FE6 #DAE64F #4FE65B
monochromatic
#6817A3 #8A1FD9 #A64FE6 #C185EE #DCBAF5

Accessibility & contrast

On white

4.30
#A64FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A64FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE6#FFFFFF#000000##000000
##A64FE61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#2E7BE3
Tritanopia (blue-blind)
#9C6F94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a64fe6;
/* rgb */ color: rgb(166, 79, 230);
/* oklch */ color: oklch(60.6% 0.222 307.5);
Tailwind
colors: {
  custom: {
    50: '#c586ef',
    500: '#a64fe6',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe6;
$custom-light: #c586ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe6",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 230
  },
  "hsl": {
    "h": 274.57,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60578,
    "c": 0.22216,
    "h": 307.5
  },
  "luminance": 0.19412
}

Semantic roles & 50–950 ramp

primary
#A64FE6
secondary
#C4E5AC
accent
#D70E63
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A64FE6

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

Preview Lab → · Contrast checker → · Palette generator →

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