#A64FB4#A64FB4

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

Color values

HEX#A64FB4
RGBrgb(166, 79, 180)
HSLhsl(292, 40%, 51%)
HSVhsv(292, 56%, 71%)
CMYKcmyk(7.8%, 56.1%, 0%, 29.4%)
CIE-LABlab(48.25, 50.75, -38.24)
CIE-LCHlch(48.25, 63.54, 323.00°)
OKLaboklab(57.53% 0.1353 -0.106)
OKLCHoklch(57.53% 0.172 321.9)
XYZxyz(26.7592, 16.9955, 45.0421)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB4 #5DB44F
analogous
#734FB4 #A64FB4 #B44F8F
triadic
#A64FB4 #B4A64F #4FB4A6
tetradic
#A64FB4 #B4734F #5DB44F #4F8FB4
square
#A64FB4 #B4734F #5DB44F #4F8FB4
split-complementary
#A64FB4 #8FB44F #4FB473
monochromatic
#582960 #803B8B #A64FB4 #BC7AC6 #D1A5D9

Accessibility & contrast

On white

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

On black

4.40
#A64FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A64FB4#FFFFFF#000000##FFFFFF
##A64FB41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB7
Deuteranopia (green-blind)
#5A76B1
Tritanopia (blue-blind)
#A85D7A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a64fb4;
/* rgb */ color: rgb(166, 79, 180);
/* oklch */ color: oklch(57.5% 0.172 321.9);
Tailwind
colors: {
  custom: {
    50: '#c385cb',
    500: '#a64fb4',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb4;
$custom-light: #c385cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb4",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 291.683,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.17194,
    "h": 321.9
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#A64FB4
secondary
#9FC699
accent
#D05868
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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