#A64DB2#A64DB2

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

Color values

HEX#A64DB2
RGBrgb(166, 77, 178)
HSLhsl(293, 40%, 50%)
HSVhsv(293, 57%, 70%)
CMYKcmyk(6.7%, 56.7%, 0%, 30.2%)
CIE-LABlab(47.79, 51.33, -37.80)
CIE-LCHlch(47.79, 63.75, 323.63°)
OKLaboklab(57.16% 0.1378 -0.1048)
OKLCHoklch(57.16% 0.173 322.8)
XYZxyz(26.4148, 16.6304, 43.9295)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64DB2 #59B24D
analogous
#734DB2 #A64DB2 #B24D8C
triadic
#A64DB2 #B2A64D #4DB2A6
tetradic
#A64DB2 #B2734D #59B24D #4D8CB2
square
#A64DB2 #B2734D #59B24D #4D8CB2
split-complementary
#A64DB2 #8CB24D #4DB273
monochromatic
#56285D #7E3B87 #A64DB2 #BB78C4 #D1A2D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64DB2#FFFFFF#000000##FFFFFF
##A64DB21.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)
#3C6BB5
Deuteranopia (green-blind)
#5A75AF
Tritanopia (blue-blind)
#A85B78
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64db2;
/* rgb */ color: rgb(166, 77, 178);
/* oklch */ color: oklch(57.2% 0.173 322.8);
Tailwind
colors: {
  custom: {
    50: '#c383c9',
    500: '#a64db2',
    950: '#000000',
  },
}
SCSS
$custom: #a64db2;
$custom-light: #c383c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a64db2",
  "rgb": {
    "r": 166,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 292.871,
    "s": 39.608,
    "l": 50
  },
  "oklch": {
    "l": 0.57157,
    "c": 0.17312,
    "h": 322.8
  },
  "luminance": 0.16629
}

Semantic roles & 50–950 ramp

primary
#A64DB2
secondary
#9CC497
accent
#CF5866
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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