#A641D6#A641D6

#A641D6 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.224 H 312.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A641D6
RGBrgb(166, 65, 214)
HSLhsl(281, 65%, 55%)
HSVhsv(281, 70%, 84%)
CMYKcmyk(22.4%, 69.6%, 0%, 16.1%)
CIE-LABlab(47.94, 63.91, -58.40)
CIE-LCHlch(47.94, 86.57, 317.58°)
OKLaboklab(57.94% 0.1515 -0.1649)
OKLCHoklch(57.94% 0.224 312.6)
XYZxyz(29.7516, 16.7435, 65.2699)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641D6 #71D641
analogous
#5C41D6 #A641D6 #D641BC
triadic
#A641D6 #D6A641 #41D6A6
tetradic
#A641D6 #D65C41 #71D641 #41BCD6
square
#A641D6 #D65C41 #71D641 #41BCD6
split-complementary
#A641D6 #BCD641 #41D65C
monochromatic
#601C81 #8627B3 #A641D6 #BE73E1 #D5A6EC

Accessibility & contrast

On white

4.83
#A641D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#A641D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641D6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641D6#FFFFFF#000000##FFFFFF
##A641D61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#3274D3
Tritanopia (blue-blind)
#A16187
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a641d6;
/* rgb */ color: rgb(166, 65, 214);
/* oklch */ color: oklch(57.9% 0.224 312.6);
Tailwind
colors: {
  custom: {
    50: '#c57ee3',
    500: '#a641d6',
    950: '#000000',
  },
}
SCSS
$custom: #a641d6;
$custom-light: #c57ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#a641d6",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 214
  },
  "hsl": {
    "h": 280.671,
    "s": 64.502,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57935,
    "c": 0.22388,
    "h": 312.6
  },
  "luminance": 0.16743
}

Semantic roles & 50–950 ramp

primary
#A641D6
secondary
#AED99A
accent
#E74076
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A641D6

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

Preview Lab → · Contrast checker → · Palette generator →

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