#A64CBA#A64CBA

#A64CBA is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.182 H 320.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A64CBA
RGBrgb(166, 76, 186)
HSLhsl(289, 44%, 51%)
HSVhsv(289, 59%, 73%)
CMYKcmyk(10.8%, 59.1%, 0%, 27.1%)
CIE-LABlab(48.04, 53.37, -42.08)
CIE-LCHlch(48.04, 67.96, 321.74°)
OKLaboklab(57.47% 0.1397 -0.1172)
OKLCHoklch(57.47% 0.182 320)
XYZxyz(27.1722, 16.8223, 48.2606)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64CBA #60BA4C
analogous
#6F4CBA #A64CBA #BA4C97
triadic
#A64CBA #BAA64C #4CBAA6
tetradic
#A64CBA #BA6F4C #60BA4C #4C97BA
square
#A64CBA #BA6F4C #60BA4C #4C97BA
split-complementary
#A64CBA #97BA4C #4CBA6F
monochromatic
#5A2765 #813891 #A64CBA #BC78CB #D2A4DC

Accessibility & contrast

On white

4.81
#A64CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A64CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64CBA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64CBA#FFFFFF#000000##FFFFFF
##A64CBA1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBD
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#A75D7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64cba;
/* rgb */ color: rgb(166, 76, 186);
/* oklch */ color: oklch(57.5% 0.182 320.0);
Tailwind
colors: {
  custom: {
    50: '#c383cf',
    500: '#a64cba',
    950: '#000000',
  },
}
SCSS
$custom: #a64cba;
$custom-light: #c383cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a64cba",
  "rgb": {
    "r": 166,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 289.091,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.18233,
    "h": 320
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#A64CBA
secondary
#A1C999
accent
#D4546B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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