#A641A2#A641A2

#A641A2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.177 H 329.2°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A641A2
RGBrgb(166, 65, 162)
HSLhsl(302, 44%, 45%)
HSVhsv(302, 61%, 65%)
CMYKcmyk(0%, 60.8%, 2.4%, 34.9%)
CIE-LABlab(44.94, 53.97, -32.85)
CIE-LCHlch(44.94, 63.18, 328.67°)
OKLaboklab(54.81% 0.1519 -0.0904)
OKLCHoklch(54.81% 0.177 329.2)
XYZxyz(24.1375, 14.4978, 35.7024)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641A2 #41A645
analogous
#7741A6 #A641A2 #A64170
triadic
#A641A2 #A2A641 #41A2A6
tetradic
#A641A2 #A67741 #41A645 #4170A6
square
#A641A2 #A67741 #41A645 #4170A6
split-complementary
#A641A2 #70A641 #41A677
monochromatic
#4E1F4C #7A3077 #A641A2 #C262BE #D38ED0

Accessibility & contrast

On white

5.39
#A641A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A641A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641A2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641A2#FFFFFF#000000##FFFFFF
##A641A21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A5
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#AC4C6B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a641a2;
/* rgb */ color: rgb(166, 65, 162);
/* oklch */ color: oklch(54.8% 0.177 329.2);
Tailwind
colors: {
  custom: {
    50: '#c37cbe',
    500: '#a641a2',
    950: '#000000',
  },
}
SCSS
$custom: #a641a2;
$custom-light: #c37cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#a641a2",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 162
  },
  "hsl": {
    "h": 302.376,
    "s": 43.723,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54811,
    "c": 0.17672,
    "h": 329.2
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#A641A2
secondary
#85BE87
accent
#D35954
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A641A2

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

Preview Lab → · Contrast checker → · Palette generator →

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