#A64EC2#A64EC2

#A64EC2 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.187 H 317.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A64EC2
RGBrgb(166, 78, 194)
HSLhsl(286, 49%, 53%)
HSVhsv(286, 60%, 76%)
CMYKcmyk(14.4%, 59.8%, 0%, 23.9%)
CIE-LABlab(48.82, 54.01, -45.47)
CIE-LCHlch(48.82, 70.61, 319.91°)
OKLaboklab(58.19% 0.1375 -0.1271)
OKLCHoklch(58.19% 0.187 317.2)
XYZxyz(28.1865, 17.4519, 52.9123)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EC2 #6AC24E
analogous
#6C4EC2 #A64EC2 #C24EA4
triadic
#A64EC2 #C2A64E #4EC2A6
tetradic
#A64EC2 #C26C4E #6AC24E #4EA4C2
square
#A64EC2 #C26C4E #6AC24E #4EA4C2
split-complementary
#A64EC2 #A4C24E #4EC26C
monochromatic
#5E266F #84369D #A64EC2 #BD7CD2 #D4A9E1

Accessibility & contrast

On white

4.68
#A64EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A64EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EC2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EC2#FFFFFF#000000##FFFFFF
##A64EC21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#5177BF
Tritanopia (blue-blind)
#A56181
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64ec2;
/* rgb */ color: rgb(166, 78, 194);
/* oklch */ color: oklch(58.2% 0.187 317.2);
Tailwind
colors: {
  custom: {
    50: '#c384d5',
    500: '#a64ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ec2;
$custom-light: #c384d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ec2",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 285.517,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.18721,
    "h": 317.2
  },
  "luminance": 0.17451
}

Semantic roles & 50–950 ramp

primary
#A64EC2
secondary
#A9CF9D
accent
#D85071
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A64EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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