#A64BAC#A64BAC

#A64BAC is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.171 H 325.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A64BAC
RGBrgb(166, 75, 172)
HSLhsl(296, 39%, 48%)
HSVhsv(296, 56%, 67%)
CMYKcmyk(3.5%, 56.4%, 0%, 32.5%)
CIE-LABlab(47.13, 51.16, -35.32)
CIE-LCHlch(47.13, 62.16, 325.38°)
OKLaboklab(56.58% 0.1399 -0.0976)
OKLCHoklch(56.58% 0.171 325.1)
XYZxyz(25.6878, 16.1191, 40.7800)
Luminance0.1612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BAC #51AC4B
analogous
#754BAC #A64BAC #AC4B81
triadic
#A64BAC #ACA64B #4BACA6
tetradic
#A64BAC #AC754B #51AC4B #4B81AC
square
#A64BAC #AC754B #51AC4B #4B81AC
split-complementary
#A64BAC #81AC4B #4BAC75
monochromatic
#542657 #7D3881 #A64BAC #BD72C2 #D19DD4

Accessibility & contrast

On white

4.97
#A64BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A64BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BAC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BAC#FFFFFF#000000##FFFFFF
##A64BAC1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E69AF
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#AA5874
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64bac;
/* rgb */ color: rgb(166, 75, 172);
/* oklch */ color: oklch(56.6% 0.171 325.1);
Tailwind
colors: {
  custom: {
    50: '#c382c5',
    500: '#a64bac',
    950: '#000000',
  },
}
SCSS
$custom: #a64bac;
$custom-light: #c382c5;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bac",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 172
  },
  "hsl": {
    "h": 296.289,
    "s": 39.271,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.17057,
    "h": 325.1
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#A64BAC
secondary
#95C192
accent
#CF5960
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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