#A64AAF#A64AAF

#A64AAF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.6% C 0.175 H 324.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A64AAF
RGBrgb(166, 74, 175)
HSLhsl(295, 41%, 49%)
HSVhsv(295, 58%, 69%)
CMYKcmyk(5.1%, 57.7%, 0%, 31.4%)
CIE-LABlab(47.11, 52.20, -37.12)
CIE-LCHlch(47.11, 64.05, 324.58°)
OKLaboklab(56.61% 0.1415 -0.1028)
OKLCHoklch(56.61% 0.175 324)
XYZxyz(25.9118, 16.1011, 42.2921)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64AAF #53AF4A
analogous
#744AAF #A64AAF #AF4A86
triadic
#A64AAF #AFA64A #4AAFA6
tetradic
#A64AAF #AF744A #53AF4A #4A86AF
square
#A64AAF #AF744A #53AF4A #4A86AF
split-complementary
#A64AAF #86AF4A #4AAF74
monochromatic
#542659 #7D3884 #A64AAF #BC73C4 #D19ED6

Accessibility & contrast

On white

4.98
#A64AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A64AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A64AAF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64AAF#FFFFFF#000000##FFFFFF
##A64AAF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#A95875
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a64aaf;
/* rgb */ color: rgb(166, 74, 175);
/* oklch */ color: oklch(56.6% 0.175 324.0);
Tailwind
colors: {
  custom: {
    50: '#c382c7',
    500: '#a64aaf',
    950: '#000000',
  },
}
SCSS
$custom: #a64aaf;
$custom-light: #c382c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64aaf",
  "rgb": {
    "r": 166,
    "g": 74,
    "b": 175
  },
  "hsl": {
    "h": 294.653,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56607,
    "c": 0.17489,
    "h": 324
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#A64AAF
secondary
#97C292
accent
#D05762
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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