#A64FBD#A64FBD

#A64FBD is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.0% C 0.181 H 318.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A64FBD
RGBrgb(166, 79, 189)
HSLhsl(287, 45%, 53%)
HSVhsv(287, 58%, 74%)
CMYKcmyk(12.2%, 58.2%, 0%, 25.9%)
CIE-LABlab(48.73, 52.52, -42.73)
CIE-LCHlch(48.73, 67.71, 320.87°)
OKLaboklab(58.03% 0.136 -0.1191)
OKLCHoklch(58.03% 0.181 318.8)
XYZxyz(27.7060, 17.3742, 50.0284)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FBD #66BD4F
analogous
#6F4FBD #A64FBD #BD4F9D
triadic
#A64FBD #BDA64F #4FBDA6
tetradic
#A64FBD #BD6F4F #66BD4F #4F9DBD
square
#A64FBD #BD6F4F #66BD4F #4F9DBD
split-complementary
#A64FBD #9DBD4F #4FBD6F
monochromatic
#5C286A #833896 #A64FBD #BD7CCE #D3A8DE

Accessibility & contrast

On white

4.69
#A64FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A64FBD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FBD#FFFFFF#000000##FFFFFF
##A64FBD1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#356EC0
Deuteranopia (green-blind)
#5577BA
Tritanopia (blue-blind)
#A6607F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a64fbd;
/* rgb */ color: rgb(166, 79, 189);
/* oklch */ color: oklch(58.0% 0.181 318.8);
Tailwind
colors: {
  custom: {
    50: '#c385d1',
    500: '#a64fbd',
    950: '#000000',
  },
}
SCSS
$custom: #a64fbd;
$custom-light: #c385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fbd",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 287.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5803,
    "c": 0.18076,
    "h": 318.8
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#A64FBD
secondary
#A6CC9C
accent
#D5536E
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A64FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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