#A641AA#A641AA

#A641AA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.184 H 326.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A641AA
RGBrgb(166, 65, 170)
HSLhsl(298, 45%, 46%)
HSVhsv(298, 62%, 67%)
CMYKcmyk(2.4%, 61.8%, 0%, 33.3%)
CIE-LABlab(45.35, 55.38, -36.95)
CIE-LCHlch(45.35, 66.58, 326.29°)
OKLaboklab(55.24% 0.1525 -0.1022)
OKLCHoklch(55.24% 0.184 326.2)
XYZxyz(24.8714, 14.7914, 39.5674)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641AA #45AA41
analogous
#7141AA #A641AA #AA4179
triadic
#A641AA #AAA641 #41AAA6
tetradic
#A641AA #AA7141 #45AA41 #4179AA
square
#A641AA #AA7141 #45AA41 #4179AA
split-complementary
#A641AA #79AA41 #41AA71
monochromatic
#501F51 #7B307E #A641AA #C064C4 #D291D5

Accessibility & contrast

On white

5.31
#A641AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A641AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641AA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641AA#FFFFFF#000000##FFFFFF
##A641AA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3263AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#AA4F70
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a641aa;
/* rgb */ color: rgb(166, 65, 170);
/* oklch */ color: oklch(55.2% 0.184 326.2);
Tailwind
colors: {
  custom: {
    50: '#c37cc4',
    500: '#a641aa',
    950: '#000000',
  },
}
SCSS
$custom: #a641aa;
$custom-light: #c37cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a641aa",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 297.714,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55241,
    "c": 0.18361,
    "h": 326.2
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#A641AA
secondary
#89C087
accent
#D45358
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A641AA

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

Preview Lab → · Contrast checker → · Palette generator →

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