#A64FB5#A64FB5

#A64FB5 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.6% C 0.173 H 321.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A64FB5
RGBrgb(166, 79, 181)
HSLhsl(291, 41%, 51%)
HSVhsv(291, 56%, 71%)
CMYKcmyk(8.3%, 56.4%, 0%, 29%)
CIE-LABlab(48.31, 50.94, -38.74)
CIE-LCHlch(48.31, 64.00, 322.75°)
OKLaboklab(57.58% 0.1354 -0.1075)
OKLCHoklch(57.58% 0.173 321.6)
XYZxyz(26.8614, 17.0364, 45.5806)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB5 #5EB54F
analogous
#734FB5 #A64FB5 #B54F91
triadic
#A64FB5 #B5A64F #4FB5A6
tetradic
#A64FB5 #B5734F #5EB54F #4F91B5
square
#A64FB5 #B5734F #5EB54F #4F91B5
split-complementary
#A64FB5 #91B54F #4FB573
monochromatic
#592961 #803B8C #A64FB5 #BC7AC7 #D2A5D9

Accessibility & contrast

On white

4.77
#A64FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A64FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB5#FFFFFF#000000##FFFFFF
##A64FB51.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB8
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#A85E7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64fb5;
/* rgb */ color: rgb(166, 79, 181);
/* oklch */ color: oklch(57.6% 0.173 321.6);
Tailwind
colors: {
  custom: {
    50: '#c385cb',
    500: '#a64fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb5;
$custom-light: #c385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb5",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 291.176,
    "s": 40.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57585,
    "c": 0.17292,
    "h": 321.6
  },
  "luminance": 0.17035
}

Semantic roles & 50–950 ramp

primary
#A64FB5
secondary
#A0C699
accent
#D15769
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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