#A64DB3#A64DB3

#A64DB3 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.2% C 0.174 H 322.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A64DB3
RGBrgb(166, 77, 179)
HSLhsl(292, 40%, 50%)
HSVhsv(292, 57%, 70%)
CMYKcmyk(7.3%, 57%, 0%, 29.8%)
CIE-LABlab(47.84, 51.52, -38.30)
CIE-LCHlch(47.84, 64.20, 323.37°)
OKLaboklab(57.21% 0.1379 -0.1062)
OKLCHoklch(57.21% 0.174 322.4)
XYZxyz(26.5156, 16.6707, 44.4602)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DB3 #5AB34D
analogous
#734DB3 #A64DB3 #B34D8D
triadic
#A64DB3 #B3A64D #4DB3A6
tetradic
#A64DB3 #B3734D #5AB34D #4D8DB3
square
#A64DB3 #B3734D #5AB34D #4D8DB3
split-complementary
#A64DB3 #8DB34D #4DB373
monochromatic
#57285E #7F3A89 #A64DB3 #BB78C5 #D1A3D8

Accessibility & contrast

On white

4.85
#A64DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A64DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DB3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DB3#FFFFFF#000000##FFFFFF
##A64DB31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6BB6
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#A85B79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64db3;
/* rgb */ color: rgb(166, 77, 179);
/* oklch */ color: oklch(57.2% 0.174 322.4);
Tailwind
colors: {
  custom: {
    50: '#c383ca',
    500: '#a64db3',
    950: '#000000',
  },
}
SCSS
$custom: #a64db3;
$custom-light: #c383ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a64db3",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 292.353,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.17407,
    "h": 322.4
  },
  "luminance": 0.16669
}

Semantic roles & 50–950 ramp

primary
#A64DB3
secondary
#9DC597
accent
#D05867
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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