#A64CDF#A64CDF

#A64CDF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.219 H 309.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A64CDF
RGBrgb(166, 76, 223)
HSLhsl(277, 70%, 59%)
HSVhsv(277, 66%, 87%)
CMYKcmyk(25.6%, 65.9%, 0%, 12.5%)
CIE-LABlab(50.22, 61.04, -59.84)
CIE-LCHlch(50.22, 85.49, 315.57°)
OKLaboklab(59.76% 0.139 -0.1691)
OKLCHoklch(59.76% 0.219 309.4)
XYZxyz(31.6270, 18.6042, 71.7226)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CDF #85DF4C
analogous
#5C4CDF #A64CDF #DF4CCE
triadic
#A64CDF #DFA64C #4CDFA6
tetradic
#A64CDF #DF5C4C #85DF4C #4CCEDF
square
#A64CDF #DF5C4C #85DF4C #4CCEDF
split-complementary
#A64CDF #CEDF4C #4CDF5C
monochromatic
#661B96 #8924CA #A64CDF #C080E8 #DAB4F2

Accessibility & contrast

On white

4.45
#A64CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#A64CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CDF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CDF#FFFFFF#000000##000000
##A64CDF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#9E6B8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a64cdf;
/* rgb */ color: rgb(166, 76, 223);
/* oklch */ color: oklch(59.8% 0.219 309.4);
Tailwind
colors: {
  custom: {
    50: '#c584ea',
    500: '#a64cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a64cdf;
$custom-light: #c584ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cdf",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 276.735,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.21895,
    "h": 309.4
  },
  "luminance": 0.18604
}

Semantic roles & 50–950 ramp

primary
#A64CDF
secondary
#BDE0A6
accent
#EC3B80
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A64CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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