#A64CBD#A64CBD

#A64CBD is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.185 H 319.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A64CBD
RGBrgb(166, 76, 189)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 60%, 74%)
CMYKcmyk(12.2%, 59.8%, 0%, 25.9%)
CIE-LABlab(48.20, 53.96, -43.57)
CIE-LCHlch(48.20, 69.35, 321.08°)
OKLaboklab(57.64% 0.1398 -0.1215)
OKLCHoklch(57.64% 0.185 319)
XYZxyz(27.4944, 16.9512, 49.9579)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CBD #63BD4C
analogous
#6E4CBD #A64CBD #BD4C9B
triadic
#A64CBD #BDA64C #4CBDA6
tetradic
#A64CBD #BD6E4C #63BD4C #4C9BBD
square
#A64CBD #BD6E4C #63BD4C #4C9BBD
split-complementary
#A64CBD #9BBD4C #4CBD6E
monochromatic
#5B2668 #823795 #A64CBD #BC79CD #D2A5DE

Accessibility & contrast

On white

4.78
#A64CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A64CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CBD
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CBD#FFFFFF#000000##FFFFFF
##A64CBD1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#5376BA
Tritanopia (blue-blind)
#A65E7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cbd;
/* rgb */ color: rgb(166, 76, 189);
/* oklch */ color: oklch(57.6% 0.185 319.0);
Tailwind
colors: {
  custom: {
    50: '#c383d1',
    500: '#a64cbd',
    950: '#000000',
  },
}
SCSS
$custom: #a64cbd;
$custom-light: #c383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cbd",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 287.788,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.18523,
    "h": 319
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#A64CBD
secondary
#A4CB9A
accent
#D6526D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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