#A64CB5#A64CB5

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

Color values

HEX#A64CB5
RGBrgb(166, 76, 181)
HSLhsl(291, 42%, 50%)
HSVhsv(291, 58%, 71%)
CMYKcmyk(8.3%, 58%, 0%, 29%)
CIE-LABlab(47.77, 52.39, -39.59)
CIE-LCHlch(47.77, 65.67, 322.92°)
OKLaboklab(57.19% 0.1394 -0.1099)
OKLCHoklch(57.19% 0.178 321.7)
XYZxyz(26.6499, 16.6133, 45.5100)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CB5 #5BB54C
analogous
#724CB5 #A64CB5 #B54C8F
triadic
#A64CB5 #B5A64C #4CB5A6
tetradic
#A64CB5 #B5724C #5BB54C #4C8FB5
square
#A64CB5 #B5724C #5BB54C #4C8FB5
split-complementary
#A64CB5 #8FB54C #4CB572
monochromatic
#57275F #7F398B #A64CB5 #BC77C7 #D1A3D9

Accessibility & contrast

On white

4.86
#A64CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A64CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CB5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CB5#FFFFFF#000000##FFFFFF
##A64CB51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386BB8
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#A85B79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64cb5;
/* rgb */ color: rgb(166, 76, 181);
/* oklch */ color: oklch(57.2% 0.178 321.7);
Tailwind
colors: {
  custom: {
    50: '#c383cb',
    500: '#a64cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a64cb5;
$custom-light: #c383cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cb5",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 291.429,
    "s": 41.502,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.17752,
    "h": 321.7
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#A64CB5
secondary
#9EC697
accent
#D15668
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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