#A64FBB#A64FBB

#A64FBB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.9% C 0.179 H 319.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A64FBB
RGBrgb(166, 79, 187)
HSLhsl(288, 44%, 52%)
HSVhsv(288, 58%, 73%)
CMYKcmyk(11.2%, 57.8%, 0%, 26.7%)
CIE-LABlab(48.62, 52.12, -41.74)
CIE-LCHlch(48.62, 66.78, 321.31°)
OKLaboklab(57.92% 0.1359 -0.1162)
OKLCHoklch(57.92% 0.179 319.5)
XYZxyz(27.4904, 17.2880, 48.8929)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FBB #64BB4F
analogous
#704FBB #A64FBB #BB4F9A
triadic
#A64FBB #BBA64F #4FBBA6
tetradic
#A64FBB #BB704F #64BB4F #4F9ABB
square
#A64FBB #BB704F #64BB4F #4F9ABB
split-complementary
#A64FBB #9ABB4F #4FBB70
monochromatic
#5B2868 #823994 #A64FBB #BC7BCC #D3A7DD

Accessibility & contrast

On white

4.71
#A64FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A64FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FBB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FBB#FFFFFF#000000##FFFFFF
##A64FBB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#376EBE
Deuteranopia (green-blind)
#5677B8
Tritanopia (blue-blind)
#A7607E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64fbb;
/* rgb */ color: rgb(166, 79, 187);
/* oklch */ color: oklch(57.9% 0.179 319.5);
Tailwind
colors: {
  custom: {
    50: '#c385d0',
    500: '#a64fbb',
    950: '#000000',
  },
}
SCSS
$custom: #a64fbb;
$custom-light: #c385d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fbb",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 288.333,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.17878,
    "h": 319.5
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#A64FBB
secondary
#A4CA9B
accent
#D4546D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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