#A64CA2#A64CA2

#A64CA2 is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.2% C 0.160 H 329.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A64CA2
RGBrgb(166, 76, 162)
HSLhsl(303, 37%, 47%)
HSVhsv(303, 54%, 65%)
CMYKcmyk(0%, 54.2%, 2.4%, 34.9%)
CIE-LABlab(46.82, 48.84, -29.89)
CIE-LCHlch(46.82, 57.26, 328.53°)
OKLaboklab(56.19% 0.1373 -0.082)
OKLCHoklch(56.19% 0.16 329.2)
XYZxyz(24.8316, 15.8860, 35.9338)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CA2 #4CA650
analogous
#7D4CA6 #A64CA2 #A64C75
triadic
#A64CA2 #A2A64C #4CA2A6
tetradic
#A64CA2 #A67D4C #4CA650 #4C75A6
square
#A64CA2 #A67D4C #4CA650 #4C75A6
split-complementary
#A64CA2 #75A64C #4CA67D
monochromatic
#522650 #7C3979 #A64CA2 #BE71BB #D19BCF

Accessibility & contrast

On white

5.03
#A64CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A64CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CA2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CA2#FFFFFF#000000##FFFFFF
##A64CA21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4567A5
Deuteranopia (green-blind)
#61739F
Tritanopia (blue-blind)
#AB5570
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a64ca2;
/* rgb */ color: rgb(166, 76, 162);
/* oklch */ color: oklch(56.2% 0.160 329.2);
Tailwind
colors: {
  custom: {
    50: '#c382be',
    500: '#a64ca2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ca2;
$custom-light: #c382be;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ca2",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 302.667,
    "s": 37.19,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.1599,
    "h": 329.2
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#A64CA2
secondary
#90BE92
accent
#CD605B
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130B12
muted
#827C81

Preview Lab

Preview with #A64CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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