#A64BB9#A64BB9

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

Color values

HEX#A64BB9
RGBrgb(166, 75, 185)
HSLhsl(290, 44%, 51%)
HSVhsv(290, 59%, 73%)
CMYKcmyk(10.3%, 59.5%, 0%, 27.5%)
CIE-LABlab(47.81, 53.64, -41.86)
CIE-LCHlch(47.81, 68.05, 322.03°)
OKLaboklab(57.29% 0.1409 -0.1165)
OKLCHoklch(57.29% 0.183 320.4)
XYZxyz(26.9979, 16.6432, 47.6799)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BB9 #5EB94B
analogous
#6F4BB9 #A64BB9 #B94B95
triadic
#A64BB9 #B9A64B #4BB9A6
tetradic
#A64BB9 #B96F4B #5EB94B #4B95B9
square
#A64BB9 #B96F4B #5EB94B #4B95B9
split-complementary
#A64BB9 #95B94B #4BB96F
monochromatic
#592763 #80388F #A64BB9 #BC77CA #D2A3DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A64BB9#FFFFFF#000000##FFFFFF
##A64BB91.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)
#336BBC
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#A75C7B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64bb9;
/* rgb */ color: rgb(166, 75, 185);
/* oklch */ color: oklch(57.3% 0.183 320.4);
Tailwind
colors: {
  custom: {
    50: '#c382ce',
    500: '#a64bb9',
    950: '#000000',
  },
}
SCSS
$custom: #a64bb9;
$custom-light: #c382ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bb9",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 289.636,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.18285,
    "h": 320.4
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#A64BB9
secondary
#A0C898
accent
#D4546A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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