#A64FDF#A64FDF

#A64FDF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 60.1% C 0.215 H 309.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A64FDF
RGBrgb(166, 79, 223)
HSLhsl(276, 69%, 59%)
HSVhsv(276, 65%, 87%)
CMYKcmyk(25.6%, 64.6%, 0%, 12.5%)
CIE-LABlab(50.72, 59.67, -59.04)
CIE-LCHlch(50.72, 83.94, 315.30°)
OKLaboklab(60.11% 0.1357 -0.1668)
OKLCHoklch(60.11% 0.215 309.1)
XYZxyz(31.8385, 19.0272, 71.7931)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FDF #88DF4F
analogous
#5E4FDF #A64FDF #DF4FD0
triadic
#A64FDF #DFA64F #4FDFA6
tetradic
#A64FDF #DF5E4F #88DF4F #4FD0DF
square
#A64FDF #DF5E4F #88DF4F #4FD0DF
split-complementary
#A64FDF #D0DF4F #4FDF5E
monochromatic
#671C98 #8A25CC #A64FDF #C083E8 #DAB7F2

Accessibility & contrast

On white

4.37
#A64FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64FDF#FFFFFF#000000##000000
##A64FDF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#387ADC
Tritanopia (blue-blind)
#9E6D90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a64fdf;
/* rgb */ color: rgb(166, 79, 223);
/* oklch */ color: oklch(60.1% 0.215 309.1);
Tailwind
colors: {
  custom: {
    50: '#c586ea',
    500: '#a64fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a64fdf;
$custom-light: #c586ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fdf",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 223
  },
  "hsl": {
    "h": 276.25,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60114,
    "c": 0.21504,
    "h": 309.1
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#A64FDF
secondary
#BFE1A9
accent
#EC3C82
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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