#A64EB3#A64EB3

#A64EB3 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.3% C 0.173 H 322.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A64EB3
RGBrgb(166, 78, 179)
HSLhsl(292, 40%, 50%)
HSVhsv(292, 56%, 70%)
CMYKcmyk(7.3%, 56.4%, 0%, 29.8%)
CIE-LABlab(48.02, 51.04, -38.02)
CIE-LCHlch(48.02, 63.64, 323.32°)
OKLaboklab(57.34% 0.1366 -0.1054)
OKLCHoklch(57.34% 0.173 322.3)
XYZxyz(26.5861, 16.8117, 44.4837)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64EB3 #5BB34E
analogous
#734EB3 #A64EB3 #B34E8E
triadic
#A64EB3 #B3A64E #4EB3A6
tetradic
#A64EB3 #B3734E #5BB34E #4E8EB3
square
#A64EB3 #B3734E #5BB34E #4E8EB3
split-complementary
#A64EB3 #8EB34E #4EB373
monochromatic
#57285E #7F3B89 #A64EB3 #BC79C5 #D1A4D8

Accessibility & contrast

On white

4.81
#A64EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A64EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64EB3
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64EB3#FFFFFF#000000##FFFFFF
##A64EB31.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6BB6
Deuteranopia (green-blind)
#5A75B0
Tritanopia (blue-blind)
#A85C79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64eb3;
/* rgb */ color: rgb(166, 78, 179);
/* oklch */ color: oklch(57.3% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#c384ca',
    500: '#a64eb3',
    950: '#000000',
  },
}
SCSS
$custom: #a64eb3;
$custom-light: #c384ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a64eb3",
  "rgb": {
    "r": 166,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 292.277,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.17253,
    "h": 322.3
  },
  "luminance": 0.1681
}

Semantic roles & 50–950 ramp

primary
#A64EB3
secondary
#9EC598
accent
#D05867
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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