#A64EBB#A64EBB

#A64EBB is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.180 H 319.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A64EBB
RGBrgb(166, 78, 187)
HSLhsl(288, 44%, 52%)
HSVhsv(288, 58%, 73%)
CMYKcmyk(11.2%, 58.3%, 0%, 26.7%)
CIE-LABlab(48.44, 52.61, -42.02)
CIE-LCHlch(48.44, 67.33, 321.38°)
OKLaboklab(57.79% 0.1372 -0.117)
OKLCHoklch(57.79% 0.18 319.5)
XYZxyz(27.4188, 17.1448, 48.8691)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EBB #63BB4E
analogous
#6F4EBB #A64EBB #BB4E9A
triadic
#A64EBB #BBA64E #4EBBA6
tetradic
#A64EBB #BB6F4E #63BB4E #4E9ABB
square
#A64EBB #BB6F4E #63BB4E #4E9ABB
split-complementary
#A64EBB #9ABB4E #4EBB6F
monochromatic
#5B2867 #823993 #A64EBB #BC7ACC #D2A6DD

Accessibility & contrast

On white

4.74
#A64EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A64EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EBB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EBB#FFFFFF#000000##FFFFFF
##A64EBB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#A75F7D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64ebb;
/* rgb */ color: rgb(166, 78, 187);
/* oklch */ color: oklch(57.8% 0.180 319.5);
Tailwind
colors: {
  custom: {
    50: '#c384d0',
    500: '#a64ebb',
    950: '#000000',
  },
}
SCSS
$custom: #a64ebb;
$custom-light: #c384d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ebb",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 288.44,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57787,
    "c": 0.1803,
    "h": 319.5
  },
  "luminance": 0.17144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A64EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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