#A641AB#A641AB

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

Color values

HEX#A641AB
RGBrgb(166, 65, 171)
HSLhsl(297, 45%, 46%)
HSVhsv(297, 62%, 67%)
CMYKcmyk(2.9%, 62%, 0%, 32.9%)
CIE-LABlab(45.40, 55.56, -37.46)
CIE-LCHlch(45.40, 67.01, 326.01°)
OKLaboklab(55.3% 0.1526 -0.1037)
OKLCHoklch(55.3% 0.184 325.8)
XYZxyz(24.9663, 14.8294, 40.0675)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641AB #46AB41
analogous
#7141AB #A641AB #AB417B
triadic
#A641AB #ABA641 #41ABA6
tetradic
#A641AB #AB7141 #46AB41 #417BAB
square
#A641AB #AB7141 #46AB41 #417BAB
split-complementary
#A641AB #7BAB41 #41AB71
monochromatic
#501F52 #7B307F #A641AB #C065C4 #D291D5

Accessibility & contrast

On white

5.30
#A641AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#A641AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641AB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641AB#FFFFFF#000000##FFFFFF
##A641AB1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#AA5070
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a641ab;
/* rgb */ color: rgb(166, 65, 171);
/* oklch */ color: oklch(55.3% 0.184 325.8);
Tailwind
colors: {
  custom: {
    50: '#c37cc4',
    500: '#a641ab',
    950: '#000000',
  },
}
SCSS
$custom: #a641ab;
$custom-light: #c37cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#a641ab",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 297.17,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.18449,
    "h": 325.8
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#A641AB
secondary
#8AC187
accent
#D55359
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641AB

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

Preview Lab → · Contrast checker → · Palette generator →

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