#A64EBD#A64EBD

#A64EBD is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.9% C 0.182 H 318.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A64EBD
RGBrgb(166, 78, 189)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 59%, 74%)
CMYKcmyk(12.2%, 58.7%, 0%, 25.9%)
CIE-LABlab(48.55, 53.01, -43.01)
CIE-LCHlch(48.55, 68.26, 320.94°)
OKLaboklab(57.9% 0.1373 -0.1199)
OKLCHoklch(57.9% 0.182 318.9)
XYZxyz(27.6344, 17.2310, 50.0045)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EBD #65BD4E
analogous
#6F4EBD #A64EBD #BD4E9C
triadic
#A64EBD #BDA64E #4EBDA6
tetradic
#A64EBD #BD6F4E #65BD4E #4E9CBD
square
#A64EBD #BD6F4E #65BD4E #4E9CBD
split-complementary
#A64EBD #9CBD4E #4EBD6F
monochromatic
#5C2769 #823896 #A64EBD #BC7BCE #D3A7DE

Accessibility & contrast

On white

4.72
#A64EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A64EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EBD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EBD#FFFFFF#000000##FFFFFF
##A64EBD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#A6607E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64ebd;
/* rgb */ color: rgb(166, 78, 189);
/* oklch */ color: oklch(57.9% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#c384d1',
    500: '#a64ebd',
    950: '#000000',
  },
}
SCSS
$custom: #a64ebd;
$custom-light: #c384d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64ebd",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 287.568,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.579,
    "c": 0.18226,
    "h": 318.9
  },
  "luminance": 0.1723
}

Semantic roles & 50–950 ramp

primary
#A64EBD
secondary
#A5CC9B
accent
#D5526E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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