#A641A8#A641A8

#A641A8 is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.182 H 326.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A641A8
RGBrgb(166, 65, 168)
HSLhsl(299, 44%, 46%)
HSVhsv(299, 61%, 66%)
CMYKcmyk(1.2%, 61.3%, 0%, 34.1%)
CIE-LABlab(45.24, 55.02, -35.93)
CIE-LCHlch(45.24, 65.72, 326.85°)
OKLaboklab(55.13% 0.1524 -0.0993)
OKLCHoklch(55.13% 0.182 326.9)
XYZxyz(24.6836, 14.7163, 38.5786)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641A8 #43A841
analogous
#7241A8 #A641A8 #A84176
triadic
#A641A8 #A8A641 #41A8A6
tetradic
#A641A8 #A87241 #43A841 #4176A8
square
#A641A8 #A87241 #43A841 #4176A8
split-complementary
#A641A8 #76A841 #41A872
monochromatic
#4F1F50 #7A307C #A641A8 #C163C3 #D390D4

Accessibility & contrast

On white

5.33
#A641A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A641A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641A8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641A8#FFFFFF#000000##FFFFFF
##A641A81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AB
Deuteranopia (green-blind)
#5770A5
Tritanopia (blue-blind)
#AB4E6E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a641a8;
/* rgb */ color: rgb(166, 65, 168);
/* oklch */ color: oklch(55.1% 0.182 326.9);
Tailwind
colors: {
  custom: {
    50: '#c37cc2',
    500: '#a641a8',
    950: '#000000',
  },
}
SCSS
$custom: #a641a8;
$custom-light: #c37cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#a641a8",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 298.835,
    "s": 44.206,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55132,
    "c": 0.18187,
    "h": 326.9
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

primary
#A641A8
secondary
#87BF86
accent
#D45456
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A641A8

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

Preview Lab → · Contrast checker → · Palette generator →

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