#A64FE3#A64FE3

#A64FE3 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.219 H 308.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A64FE3
RGBrgb(166, 79, 227)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 65%, 89%)
CMYKcmyk(26.9%, 65.2%, 0%, 11%)
CIE-LABlab(50.97, 60.54, -60.90)
CIE-LCHlch(50.97, 85.87, 314.83°)
OKLaboklab(60.38% 0.1354 -0.1723)
OKLCHoklch(60.38% 0.219 308.2)
XYZxyz(32.3842, 19.2455, 74.6669)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FE3 #8CE34F
analogous
#5C4FE3 #A64FE3 #E34FD6
triadic
#A64FE3 #E3A64F #4FE3A6
tetradic
#A64FE3 #E35C4F #8CE34F #4FD6E3
square
#A64FE3 #E35C4F #8CE34F #4FD6E3
split-complementary
#A64FE3 #D6E34F #4FE35C
monochromatic
#67199E #8A22D3 #A64FE3 #C184EB #DBB9F4

Accessibility & contrast

On white

4.33
#A64FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A64FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FE3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FE3#FFFFFF#000000##000000
##A64FE31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#327AE0
Tritanopia (blue-blind)
#9D6E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64fe3;
/* rgb */ color: rgb(166, 79, 227);
/* oklch */ color: oklch(60.4% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#c586ed',
    500: '#a64fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a64fe3;
$custom-light: #c586ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fe3",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 275.27,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.60378,
    "c": 0.21911,
    "h": 308.2
  },
  "luminance": 0.19245
}

Semantic roles & 50–950 ramp

primary
#A64FE3
secondary
#C2E3AA
accent
#EF3984
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A64FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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