#A64CB9#A64CB9

#A64CB9 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.4% C 0.181 H 320.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A64CB9
RGBrgb(166, 76, 185)
HSLhsl(290, 44%, 51%)
HSVhsv(290, 59%, 73%)
CMYKcmyk(10.3%, 58.9%, 0%, 27.5%)
CIE-LABlab(47.98, 53.17, -41.59)
CIE-LCHlch(47.98, 67.50, 321.97°)
OKLaboklab(57.42% 0.1396 -0.1157)
OKLCHoklch(57.42% 0.181 320.3)
XYZxyz(27.0662, 16.7799, 47.7027)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CB9 #5FB94C
analogous
#6F4CB9 #A64CB9 #B94C95
triadic
#A64CB9 #B9A64C #4CB9A6
tetradic
#A64CB9 #B96F4C #5FB94C #4C95B9
square
#A64CB9 #B96F4C #5FB94C #4C95B9
split-complementary
#A64CB9 #95B94C #4CB96F
monochromatic
#592764 #803890 #A64CB9 #BC78CA #D2A4DB

Accessibility & contrast

On white

4.82
#A64CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A64CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CB9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CB9#FFFFFF#000000##FFFFFF
##A64CB91.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346CBC
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#A75D7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cb9;
/* rgb */ color: rgb(166, 76, 185);
/* oklch */ color: oklch(57.4% 0.181 320.3);
Tailwind
colors: {
  custom: {
    50: '#c383ce',
    500: '#a64cb9',
    950: '#000000',
  },
}
SCSS
$custom: #a64cb9;
$custom-light: #c383ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cb9",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 289.541,
    "s": 43.775,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57416,
    "c": 0.18135,
    "h": 320.3
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A64CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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