#A64CD2#A64CD2

#A64CD2 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 58.9% C 0.206 H 312.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A64CD2
RGBrgb(166, 76, 210)
HSLhsl(280, 60%, 56%)
HSVhsv(280, 64%, 82%)
CMYKcmyk(21%, 63.8%, 0%, 17.6%)
CIE-LABlab(49.41, 58.27, -53.74)
CIE-LCHlch(49.41, 79.27, 317.31°)
OKLaboklab(58.91% 0.1398 -0.1512)
OKLCHoklch(58.91% 0.206 312.7)
XYZxyz(29.9411, 17.9298, 62.8438)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CD2 #78D24C
analogous
#634CD2 #A64CD2 #D24CBB
triadic
#A64CD2 #D2A64C #4CD2A6
tetradic
#A64CD2 #D2634C #78D24C #4CBBD2
square
#A64CD2 #D2634C #78D24C #4CBBD2
split-complementary
#A64CD2 #BBD24C #4CD263
monochromatic
#632183 #872DB4 #A64CD2 #BE7DDE #D7AEEB

Accessibility & contrast

On white

4.58
#A64CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A64CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A64CD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CD2#FFFFFF#000000##000000
##A64CD21.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0771D6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#A16688
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a64cd2;
/* rgb */ color: rgb(166, 76, 210);
/* oklch */ color: oklch(58.9% 0.206 312.7);
Tailwind
colors: {
  custom: {
    50: '#c484e0',
    500: '#a64cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a64cd2;
$custom-light: #c484e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cd2",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 280.299,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.20596,
    "h": 312.7
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#A64CD2
secondary
#B3D9A1
accent
#E34579
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A64CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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