#A64DB5#A64DB5

#A64DB5 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.176 H 321.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A64DB5
RGBrgb(166, 77, 181)
HSLhsl(291, 41%, 51%)
HSVhsv(291, 57%, 71%)
CMYKcmyk(8.3%, 57.5%, 0%, 29%)
CIE-LABlab(47.95, 51.91, -39.31)
CIE-LCHlch(47.95, 65.11, 322.87°)
OKLaboklab(57.32% 0.1381 -0.1091)
OKLCHoklch(57.32% 0.176 321.7)
XYZxyz(26.7193, 16.7522, 45.5332)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DB5 #5CB54D
analogous
#724DB5 #A64DB5 #B54D90
triadic
#A64DB5 #B5A64D #4DB5A6
tetradic
#A64DB5 #B5724D #5CB54D #4D90B5
square
#A64DB5 #B5724D #5CB54D #4D90B5
split-complementary
#A64DB5 #90B54D #4DB572
monochromatic
#582860 #7F3A8B #A64DB5 #BC78C7 #D1A3D9

Accessibility & contrast

On white

4.83
#A64DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A64DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DB5#FFFFFF#000000##FFFFFF
##A64DB51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396BB8
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#A85C7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64db5;
/* rgb */ color: rgb(166, 77, 181);
/* oklch */ color: oklch(57.3% 0.176 321.7);
Tailwind
colors: {
  custom: {
    50: '#c383cb',
    500: '#a64db5',
    950: '#000000',
  },
}
SCSS
$custom: #a64db5;
$custom-light: #c383cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64db5",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 291.346,
    "s": 41.27,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.17599,
    "h": 321.7
  },
  "luminance": 0.16751
}

Semantic roles & 50–950 ramp

primary
#A64DB5
secondary
#9EC698
accent
#D15768
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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