#A64CCC#A64CCC

#A64CCC is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.200 H 314.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A64CCC
RGBrgb(166, 76, 204)
HSLhsl(282, 56%, 55%)
HSVhsv(282, 63%, 80%)
CMYKcmyk(18.6%, 62.7%, 0%, 20%)
CIE-LABlab(49.05, 57.01, -50.88)
CIE-LCHlch(49.05, 76.41, 318.25°)
OKLaboklab(58.54% 0.14 -0.1429)
OKLCHoklch(58.54% 0.2 314.4)
XYZxyz(29.2076, 17.6364, 58.9806)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CCC #72CC4C
analogous
#664CCC #A64CCC #CC4CB2
triadic
#A64CCC #CCA64C #4CCCA6
tetradic
#A64CCC #CC664C #72CC4C #4CB2CC
square
#A64CCC #CC664C #72CC4C #4CB2CC
split-complementary
#A64CCC #B2CC4C #4CCC66
monochromatic
#61237B #8631AA #A64CCC #BE7CDA #D5ABE7

Accessibility & contrast

On white

4.64
#A64CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A64CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CCC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CCC#FFFFFF#000000##FFFFFF
##A64CCC1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#4877C9
Tritanopia (blue-blind)
#A36485
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64ccc;
/* rgb */ color: rgb(166, 76, 204);
/* oklch */ color: oklch(58.5% 0.200 314.4);
Tailwind
colors: {
  custom: {
    50: '#c483dc',
    500: '#a64ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a64ccc;
$custom-light: #c483dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ccc",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 282.188,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.19999,
    "h": 314.4
  },
  "luminance": 0.17636
}

Semantic roles & 50–950 ramp

primary
#A64CCC
secondary
#AFD59F
accent
#DF4975
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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