#A64FCC#A64FCC

#A64FCC is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.9% C 0.196 H 314.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A64FCC
RGBrgb(166, 79, 204)
HSLhsl(282, 55%, 55%)
HSVhsv(282, 61%, 80%)
CMYKcmyk(18.6%, 61.3%, 0%, 20%)
CIE-LABlab(49.57, 55.60, -50.05)
CIE-LCHlch(49.57, 74.81, 318.01°)
OKLaboklab(58.91% 0.1364 -0.1405)
OKLCHoklch(58.91% 0.196 314.2)
XYZxyz(29.4191, 18.0595, 59.0511)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FCC #75CC4F
analogous
#674FCC #A64FCC #CC4FB3
triadic
#A64FCC #CCA64F #4FCCA6
tetradic
#A64FCC #CC674F #75CC4F #4FB3CC
square
#A64FCC #CC674F #75CC4F #4FB3CC
split-complementary
#A64FCC #B3CC4F #4FCC67
monochromatic
#62247D #8732AC #A64FCC #BE7EDA #D6AEE7

Accessibility & contrast

On white

4.55
#A64FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A64FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64FCC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FCC#FFFFFF#000000##000000
##A64FCC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#4B78C9
Tritanopia (blue-blind)
#A36686
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a64fcc;
/* rgb */ color: rgb(166, 79, 204);
/* oklch */ color: oklch(58.9% 0.196 314.2);
Tailwind
colors: {
  custom: {
    50: '#c485dc',
    500: '#a64fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a64fcc;
$custom-light: #c485dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fcc",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 281.76,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.19576,
    "h": 314.2
  },
  "luminance": 0.18059
}

Semantic roles & 50–950 ramp

primary
#A64FCC
secondary
#B1D5A1
accent
#DE4977
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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