#A64FB1#A64FB1

#A64FB1 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.4% C 0.169 H 323.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A64FB1
RGBrgb(166, 79, 177)
HSLhsl(293, 39%, 50%)
HSVhsv(293, 55%, 69%)
CMYKcmyk(6.2%, 55.4%, 0%, 30.6%)
CIE-LABlab(48.10, 50.16, -36.72)
CIE-LCHlch(48.10, 62.17, 323.79°)
OKLaboklab(57.37% 0.1351 -0.1017)
OKLCHoklch(57.37% 0.169 323)
XYZxyz(26.4569, 16.8746, 43.4500)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB1 #5AB14F
analogous
#754FB1 #A64FB1 #B14F8B
triadic
#A64FB1 #B1A64F #4FB1A6
tetradic
#A64FB1 #B1754F #5AB14F #4F8BB1
square
#A64FB1 #B1754F #5AB14F #4F8BB1
split-complementary
#A64FB1 #8BB14F #4FB175
monochromatic
#57295D #7F3C87 #A64FB1 #BB79C4 #D1A4D7

Accessibility & contrast

On white

4.80
#A64FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#A64FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB1#FFFFFF#000000##FFFFFF
##A64FB11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB4
Deuteranopia (green-blind)
#5C76AE
Tritanopia (blue-blind)
#A95C78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64fb1;
/* rgb */ color: rgb(166, 79, 177);
/* oklch */ color: oklch(57.4% 0.169 323.0);
Tailwind
colors: {
  custom: {
    50: '#c384c9',
    500: '#a64fb1',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb1;
$custom-light: #c384c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb1",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 293.265,
    "s": 38.583,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57368,
    "c": 0.16905,
    "h": 323
  },
  "luminance": 0.16873
}

Semantic roles & 50–950 ramp

primary
#A64FB1
secondary
#9DC498
accent
#CF5966
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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