#A64FAF#A64FAF

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

Color values

HEX#A64FAF
RGBrgb(166, 79, 175)
HSLhsl(294, 38%, 50%)
HSVhsv(294, 55%, 69%)
CMYKcmyk(5.1%, 54.9%, 0%, 31.4%)
CIE-LABlab(48.00, 49.78, -35.71)
CIE-LCHlch(48.00, 61.27, 324.35°)
OKLaboklab(57.26% 0.1349 -0.0987)
OKLCHoklch(57.26% 0.167 323.8)
XYZxyz(26.2590, 16.7954, 42.4078)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A64FAF #58AF4F
analogous
#764FAF #A64FAF #AF4F88
triadic
#A64FAF #AFA64F #4FAFA6
tetradic
#A64FAF #AF764F #58AF4F #4F88AF
square
#A64FAF #AF764F #58AF4F #4F88AF
split-complementary
#A64FAF #88AF4F #4FAF76
monochromatic
#56295B #7E3C85 #A64FAF #BC79C2 #D1A3D5

Accessibility & contrast

On white

4.82
#A64FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A64FAF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A64FAF#FFFFFF#000000##FFFFFF
##A64FAF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#A95C77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a64faf;
/* rgb */ color: rgb(166, 79, 175);
/* oklch */ color: oklch(57.3% 0.167 323.8);
Tailwind
colors: {
  custom: {
    50: '#c384c7',
    500: '#a64faf',
    950: '#000000',
  },
}
SCSS
$custom: #a64faf;
$custom-light: #c384c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a64faf",
  "rgb": {
    "r": 166,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 294.375,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.16714,
    "h": 323.8
  },
  "luminance": 0.16794
}

Semantic roles & 50–950 ramp

primary
#A64FAF
secondary
#9BC397
accent
#CE5A65
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A64FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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