#A64BBC#A64BBC

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

Color values

HEX#A64BBC
RGBrgb(166, 75, 188)
HSLhsl(288, 46%, 52%)
HSVhsv(288, 60%, 74%)
CMYKcmyk(11.7%, 60.1%, 0%, 26.3%)
CIE-LABlab(47.97, 54.23, -43.35)
CIE-LCHlch(47.97, 69.43, 321.36°)
OKLaboklab(57.46% 0.141 -0.1209)
OKLCHoklch(57.46% 0.186 319.4)
XYZxyz(27.3179, 16.7712, 49.3654)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64BBC #61BC4B
analogous
#6E4BBC #A64BBC #BC4B9A
triadic
#A64BBC #BCA64B #4BBCA6
tetradic
#A64BBC #BC6E4B #61BC4B #4B9ABC
square
#A64BBC #BC6E4B #61BC4B #4B9ABC
split-complementary
#A64BBC #9ABC4B #4BBC6E
monochromatic
#5A2666 #813793 #A64BBC #BC78CD #D2A4DD

Accessibility & contrast

On white

4.82
#A64BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A64BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64BBC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64BBC#FFFFFF#000000##FFFFFF
##A64BBC1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#A65D7C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64bbc;
/* rgb */ color: rgb(166, 75, 188);
/* oklch */ color: oklch(57.5% 0.186 319.4);
Tailwind
colors: {
  custom: {
    50: '#c382d1',
    500: '#a64bbc',
    950: '#000000',
  },
}
SCSS
$custom: #a64bbc;
$custom-light: #c382d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64bbc",
  "rgb": {
    "r": 166,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 288.319,
    "s": 45.749,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.18574,
    "h": 319.4
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#A64BBC
secondary
#A2CA99
accent
#D5526C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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