#A64AB2#A64AB2

#A64AB2 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.178 H 322.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A64AB2
RGBrgb(166, 74, 178)
HSLhsl(293, 41%, 49%)
HSVhsv(293, 58%, 70%)
CMYKcmyk(6.7%, 58.4%, 0%, 30.2%)
CIE-LABlab(47.26, 52.76, -38.64)
CIE-LCHlch(47.26, 65.40, 323.79°)
OKLaboklab(56.77% 0.1417 -0.1072)
OKLCHoklch(56.77% 0.178 322.9)
XYZxyz(26.2098, 16.2202, 43.8611)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AB2 #56B24A
analogous
#724AB2 #A64AB2 #B24A8A
triadic
#A64AB2 #B2A64A #4AB2A6
tetradic
#A64AB2 #B2724A #56B24A #4A8AB2
square
#A64AB2 #B2724A #56B24A #4A8AB2
split-complementary
#A64AB2 #8AB24A #4AB272
monochromatic
#55265C #7E3887 #A64AB2 #BC74C5 #D19FD7

Accessibility & contrast

On white

4.95
#A64AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A64AB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64AB2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AB2#FFFFFF#000000##FFFFFF
##A64AB21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3869B5
Deuteranopia (green-blind)
#5874AF
Tritanopia (blue-blind)
#A85977
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64ab2;
/* rgb */ color: rgb(166, 74, 178);
/* oklch */ color: oklch(56.8% 0.178 322.9);
Tailwind
colors: {
  custom: {
    50: '#c382c9',
    500: '#a64ab2',
    950: '#000000',
  },
}
SCSS
$custom: #a64ab2;
$custom-light: #c382c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ab2",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 293.077,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56771,
    "c": 0.1777,
    "h": 322.9
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#A64AB2
secondary
#99C494
accent
#D15765
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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