#A641A4#A641A4

#A641A4 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.178 H 328.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#A641A4
RGBrgb(166, 65, 164)
HSLhsl(301, 44%, 45%)
HSVhsv(301, 61%, 65%)
CMYKcmyk(0%, 60.8%, 1.2%, 34.9%)
CIE-LABlab(45.04, 54.32, -33.88)
CIE-LCHlch(45.04, 64.02, 328.05°)
OKLaboklab(54.92% 0.1521 -0.0933)
OKLCHoklch(54.92% 0.178 328.5)
XYZxyz(24.3167, 14.5695, 36.6462)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641A4 #41A643
analogous
#7541A6 #A641A4 #A64171
triadic
#A641A4 #A4A641 #41A4A6
tetradic
#A641A4 #A67541 #41A643 #4171A6
square
#A641A4 #A67541 #41A643 #4171A6
split-complementary
#A641A4 #71A641 #41A675
monochromatic
#4E1F4D #7A3079 #A641A4 #C262C0 #D38ED2

Accessibility & contrast

On white

5.37
#A641A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#A641A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641A4
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641A4#FFFFFF#000000##FFFFFF
##A641A41.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#AB4D6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a641a4;
/* rgb */ color: rgb(166, 65, 164);
/* oklch */ color: oklch(54.9% 0.178 328.5);
Tailwind
colors: {
  custom: {
    50: '#c37cbf',
    500: '#a641a4',
    950: '#000000',
  },
}
SCSS
$custom: #a641a4;
$custom-light: #c37cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#a641a4",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 164
  },
  "hsl": {
    "h": 301.188,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54917,
    "c": 0.17842,
    "h": 328.5
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#A641A4
secondary
#85BE86
accent
#D35754
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A641A4

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

Preview Lab → · Contrast checker → · Palette generator →

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