#A64FDA#A64FDA

#A64FDA is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.8% C 0.210 H 310.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A64FDA
RGBrgb(166, 79, 218)
HSLhsl(278, 65%, 58%)
HSVhsv(278, 64%, 85%)
CMYKcmyk(23.9%, 63.8%, 0%, 14.5%)
CIE-LABlab(50.41, 58.58, -56.71)
CIE-LCHlch(50.41, 81.53, 315.93°)
OKLaboklab(59.79% 0.136 -0.16)
OKLCHoklch(59.79% 0.21 310.4)
XYZxyz(31.1743, 18.7616, 68.2952)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FDA #83DA4F
analogous
#604FDA #A64FDA #DA4FC8
triadic
#A64FDA #DAA64F #4FDAA6
tetradic
#A64FDA #DA604F #83DA4F #4FC8DA
square
#A64FDA #DA604F #83DA4F #4FC8DA
split-complementary
#A64FDA #C8DA4F #4FDA60
monochromatic
#661E90 #8929C3 #A64FDA #C082E5 #D9B4EF

Accessibility & contrast

On white

4.42
#A64FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A64FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FDA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FDA#FFFFFF#000000##000000
##A64FDA1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3E79D7
Tritanopia (blue-blind)
#9F6B8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a64fda;
/* rgb */ color: rgb(166, 79, 218);
/* oklch */ color: oklch(59.8% 0.210 310.4);
Tailwind
colors: {
  custom: {
    50: '#c486e6',
    500: '#a64fda',
    950: '#000000',
  },
}
SCSS
$custom: #a64fda;
$custom-light: #c486e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fda",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 277.554,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59789,
    "c": 0.20995,
    "h": 310.4
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#A64FDA
secondary
#BBDEA7
accent
#E8407F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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