#A64ABC#A64ABC

#A64ABC is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.3% C 0.187 H 319.5°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A64ABC
RGBrgb(166, 74, 188)
HSLhsl(288, 46%, 51%)
HSVhsv(288, 61%, 74%)
CMYKcmyk(11.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(47.80, 54.70, -43.62)
CIE-LCHlch(47.80, 69.97, 321.43°)
OKLaboklab(57.34% 0.1423 -0.1217)
OKLCHoklch(57.34% 0.187 319.5)
XYZxyz(27.2506, 16.6366, 49.3430)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64ABC #60BC4A
analogous
#6D4ABC #A64ABC #BC4A99
triadic
#A64ABC #BCA64A #4ABCA6
tetradic
#A64ABC #BC6D4A #60BC4A #4A99BC
square
#A64ABC #BC6D4A #60BC4A #4A99BC
split-complementary
#A64ABC #99BC4A #4ABC6D
monochromatic
#5A2666 #813693 #A64ABC #BC77CD #D2A3DD

Accessibility & contrast

On white

4.85
#A64ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#A64ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64ABC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64ABC#FFFFFF#000000##FFFFFF
##A64ABC1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BC0
Deuteranopia (green-blind)
#5275B9
Tritanopia (blue-blind)
#A65C7C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a64abc;
/* rgb */ color: rgb(166, 74, 188);
/* oklch */ color: oklch(57.3% 0.187 319.5);
Tailwind
colors: {
  custom: {
    50: '#c382d1',
    500: '#a64abc',
    950: '#000000',
  },
}
SCSS
$custom: #a64abc;
$custom-light: #c382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64abc",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 288.421,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57336,
    "c": 0.1872,
    "h": 319.5
  },
  "luminance": 0.16635
}

Semantic roles & 50–950 ramp

primary
#A64ABC
secondary
#A1CA98
accent
#D6526C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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