#A64FB7#A64FB7

#A64FB7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.7% C 0.175 H 320.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A64FB7
RGBrgb(166, 79, 183)
HSLhsl(290, 42%, 51%)
HSVhsv(290, 57%, 72%)
CMYKcmyk(9.3%, 56.8%, 0%, 28.2%)
CIE-LABlab(48.41, 51.33, -39.74)
CIE-LCHlch(48.41, 64.92, 322.25°)
OKLaboklab(57.69% 0.1356 -0.1104)
OKLCHoklch(57.69% 0.175 320.8)
XYZxyz(27.0681, 17.1191, 46.6691)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB7 #60B74F
analogous
#724FB7 #A64FB7 #B74F94
triadic
#A64FB7 #B7A64F #4FB7A6
tetradic
#A64FB7 #B7724F #60B74F #4F94B7
square
#A64FB7 #B7724F #60B74F #4F94B7
split-complementary
#A64FB7 #94B74F #4FB772
monochromatic
#5A2963 #813A8F #A64FB7 #BC7AC9 #D2A6DB

Accessibility & contrast

On white

4.75
#A64FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A64FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB7#FFFFFF#000000##FFFFFF
##A64FB71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6DBA
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#A75E7B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64fb7;
/* rgb */ color: rgb(166, 79, 183);
/* oklch */ color: oklch(57.7% 0.175 320.8);
Tailwind
colors: {
  custom: {
    50: '#c385cd',
    500: '#a64fb7',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb7;
$custom-light: #c385cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb7",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 183
  },
  "hsl": {
    "h": 290.192,
    "s": 41.935,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.17486,
    "h": 320.8
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#A64FB7
secondary
#A1C89A
accent
#D2566A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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