#A641A7#A641A7

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

Color values

HEX#A641A7
RGBrgb(166, 65, 167)
HSLhsl(299, 44%, 45%)
HSVhsv(299, 61%, 65%)
CMYKcmyk(0.6%, 61.1%, 0%, 34.5%)
CIE-LABlab(45.19, 54.84, -35.42)
CIE-LCHlch(45.19, 65.29, 327.14°)
OKLaboklab(55.08% 0.1523 -0.0978)
OKLCHoklch(55.08% 0.181 327.3)
XYZxyz(24.5908, 14.6792, 38.0899)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641A7 #42A741
analogous
#7341A7 #A641A7 #A74175
triadic
#A641A7 #A7A641 #41A7A6
tetradic
#A641A7 #A77341 #42A741 #4175A7
square
#A641A7 #A77341 #42A741 #4175A7
split-complementary
#A641A7 #75A741 #41A773
monochromatic
#4E1F4F #7A307B #A641A7 #C163C2 #D38FD3

Accessibility & contrast

On white

5.34
#A641A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A641A7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641A7#FFFFFF#000000##FFFFFF
##A641A71.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AA
Deuteranopia (green-blind)
#5870A4
Tritanopia (blue-blind)
#AB4E6E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a641a7;
/* rgb */ color: rgb(166, 65, 167);
/* oklch */ color: oklch(55.1% 0.181 327.3);
Tailwind
colors: {
  custom: {
    50: '#c37cc1',
    500: '#a641a7',
    950: '#000000',
  },
}
SCSS
$custom: #a641a7;
$custom-light: #c37cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#a641a7",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 299.412,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55077,
    "c": 0.18101,
    "h": 327.3
  },
  "luminance": 0.14678
}

Semantic roles & 50–950 ramp

primary
#A641A7
secondary
#86BF85
accent
#D45455
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A641A7

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

Preview Lab → · Contrast checker → · Palette generator →

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