#A64CBC#A64CBC

#A64CBC is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.6% C 0.184 H 319.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A64CBC
RGBrgb(166, 76, 188)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 60%, 74%)
CMYKcmyk(11.7%, 59.6%, 0%, 26.3%)
CIE-LABlab(48.14, 53.76, -43.08)
CIE-LCHlch(48.14, 68.89, 321.30°)
OKLaboklab(57.59% 0.1398 -0.1201)
OKLCHoklch(57.59% 0.184 319.3)
XYZxyz(27.3863, 16.9079, 49.3882)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CBC #62BC4C
analogous
#6E4CBC #A64CBC #BC4C9A
triadic
#A64CBC #BCA64C #4CBCA6
tetradic
#A64CBC #BC6E4C #62BC4C #4C9ABC
square
#A64CBC #BC6E4C #62BC4C #4C9ABC
split-complementary
#A64CBC #9ABC4C #4CBC6E
monochromatic
#5A2767 #813794 #A64CBC #BC79CD #D2A5DD

Accessibility & contrast

On white

4.79
#A64CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A64CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CBC
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CBC#FFFFFF#000000##FFFFFF
##A64CBC1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#5475B9
Tritanopia (blue-blind)
#A65E7D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cbc;
/* rgb */ color: rgb(166, 76, 188);
/* oklch */ color: oklch(57.6% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#c383d1',
    500: '#a64cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a64cbc;
$custom-light: #c383d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cbc",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 288.214,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57587,
    "c": 0.18426,
    "h": 319.3
  },
  "luminance": 0.16907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A64CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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