#A64DBB#A64DBB

#A64DBB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.182 H 319.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A64DBB
RGBrgb(166, 77, 187)
HSLhsl(289, 45%, 52%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(11.2%, 58.8%, 0%, 26.7%)
CIE-LABlab(48.26, 53.09, -42.30)
CIE-LCHlch(48.26, 67.88, 321.45°)
OKLaboklab(57.66% 0.1384 -0.1178)
OKLCHoklch(57.66% 0.182 319.6)
XYZxyz(27.3483, 17.0038, 48.8456)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DBB #62BB4D
analogous
#6F4DBB #A64DBB #BB4D99
triadic
#A64DBB #BBA64D #4DBBA6
tetradic
#A64DBB #BB6F4D #62BB4D #4D99BB
square
#A64DBB #BB6F4D #62BB4D #4D99BB
split-complementary
#A64DBB #99BB4D #4DBB6F
monochromatic
#5A2766 #813893 #A64DBB #BC79CC #D2A6DD

Accessibility & contrast

On white

4.77
#A64DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A64DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64DBB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64DBB#FFFFFF#000000##FFFFFF
##A64DBB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBE
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#A75E7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64dbb;
/* rgb */ color: rgb(166, 77, 187);
/* oklch */ color: oklch(57.7% 0.182 319.6);
Tailwind
colors: {
  custom: {
    50: '#c384d0',
    500: '#a64dbb',
    950: '#000000',
  },
}
SCSS
$custom: #a64dbb;
$custom-light: #c384d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64dbb",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 288.545,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.1818,
    "h": 319.6
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#A64DBB
secondary
#A3CA9A
accent
#D4536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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