#A64CBB#A64CBB

#A64CBB is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.5% C 0.183 H 319.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A64CBB
RGBrgb(166, 76, 187)
HSLhsl(289, 45%, 52%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(11.2%, 59.4%, 0%, 26.7%)
CIE-LABlab(48.09, 53.56, -42.58)
CIE-LCHlch(48.09, 68.43, 321.52°)
OKLaboklab(57.53% 0.1397 -0.1186)
OKLCHoklch(57.53% 0.183 319.7)
XYZxyz(27.2788, 16.8649, 48.8224)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CBB #61BB4C
analogous
#6F4CBB #A64CBB #BB4C99
triadic
#A64CBB #BBA64C #4CBBA6
tetradic
#A64CBB #BB6F4C #61BB4C #4C99BB
square
#A64CBB #BB6F4C #61BB4C #4C99BB
split-complementary
#A64CBB #99BB4C #4CBB6F
monochromatic
#5A2766 #813892 #A64CBB #BC78CC #D2A5DD

Accessibility & contrast

On white

4.80
#A64CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A64CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CBB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CBB#FFFFFF#000000##FFFFFF
##A64CBB1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326CBE
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#A75E7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cbb;
/* rgb */ color: rgb(166, 76, 187);
/* oklch */ color: oklch(57.5% 0.183 319.7);
Tailwind
colors: {
  custom: {
    50: '#c383d0',
    500: '#a64cbb',
    950: '#000000',
  },
}
SCSS
$custom: #a64cbb;
$custom-light: #c383d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cbb",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 288.649,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.1833,
    "h": 319.7
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#A64CBB
secondary
#A2CA99
accent
#D5536C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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