#A64FB3#A64FB3

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

Color values

HEX#A64FB3
RGBrgb(166, 79, 179)
HSLhsl(292, 40%, 51%)
HSVhsv(292, 56%, 70%)
CMYKcmyk(7.3%, 55.9%, 0%, 29.8%)
CIE-LABlab(48.20, 50.55, -37.73)
CIE-LCHlch(48.20, 63.08, 323.26°)
OKLaboklab(57.48% 0.1353 -0.1046)
OKLCHoklch(57.48% 0.171 322.3)
XYZxyz(26.6577, 16.9549, 44.5075)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FB3 #5CB34F
analogous
#744FB3 #A64FB3 #B34F8E
triadic
#A64FB3 #B3A64F #4FB3A6
tetradic
#A64FB3 #B3744F #5CB34F #4F8EB3
square
#A64FB3 #B3744F #5CB34F #4F8EB3
split-complementary
#A64FB3 #8EB34F #4FB374
monochromatic
#58295F #7F3B89 #A64FB3 #BC7AC5 #D1A4D8

Accessibility & contrast

On white

4.78
#A64FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A64FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64FB3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FB3#FFFFFF#000000##FFFFFF
##A64FB31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#A85D79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64fb3;
/* rgb */ color: rgb(166, 79, 179);
/* oklch */ color: oklch(57.5% 0.171 322.3);
Tailwind
colors: {
  custom: {
    50: '#c385ca',
    500: '#a64fb3',
    950: '#000000',
  },
}
SCSS
$custom: #a64fb3;
$custom-light: #c385ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a64fb3",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 292.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.17097,
    "h": 322.3
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A64FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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