#A64FBC#A64FBC

#A64FBC is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.0% C 0.180 H 319.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A64FBC
RGBrgb(166, 79, 188)
HSLhsl(288, 45%, 52%)
HSVhsv(288, 58%, 74%)
CMYKcmyk(11.7%, 58%, 0%, 26.3%)
CIE-LABlab(48.67, 52.32, -42.23)
CIE-LCHlch(48.67, 67.24, 321.09°)
OKLaboklab(57.97% 0.1359 -0.1176)
OKLCHoklch(57.97% 0.18 319.1)
XYZxyz(27.5978, 17.3309, 49.4587)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FBC #65BC4F
analogous
#704FBC #A64FBC #BC4F9B
triadic
#A64FBC #BCA64F #4FBCA6
tetradic
#A64FBC #BC704F #65BC4F #4F9BBC
square
#A64FBC #BC704F #65BC4F #4F9BBC
split-complementary
#A64FBC #9BBC4F #4FBC70
monochromatic
#5C2869 #823995 #A64FBC #BC7BCD #D3A8DE

Accessibility & contrast

On white

4.70
#A64FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#A64FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FBC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FBC#FFFFFF#000000##FFFFFF
##A64FBC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#A6607E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64fbc;
/* rgb */ color: rgb(166, 79, 188);
/* oklch */ color: oklch(58.0% 0.180 319.1);
Tailwind
colors: {
  custom: {
    50: '#c385d0',
    500: '#a64fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a64fbc;
$custom-light: #c385d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fbc",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 287.89,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57974,
    "c": 0.17977,
    "h": 319.1
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#A64FBC
secondary
#A5CB9C
accent
#D5536D
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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