#A641B4#A641B4

#A641B4 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.8% C 0.192 H 322.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A641B4
RGBrgb(166, 65, 180)
HSLhsl(293, 47%, 48%)
HSVhsv(293, 64%, 71%)
CMYKcmyk(7.8%, 63.9%, 0%, 29.4%)
CIE-LABlab(45.89, 57.22, -41.99)
CIE-LCHlch(45.89, 70.97, 323.73°)
OKLaboklab(55.81% 0.153 -0.1168)
OKLCHoklch(55.81% 0.192 322.6)
XYZxyz(25.8536, 15.1843, 44.7402)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B4 #4FB441
analogous
#6D41B4 #A641B4 #B44188
triadic
#A641B4 #B4A641 #41B4A6
tetradic
#A641B4 #B46D41 #4FB441 #4188B4
square
#A641B4 #B46D41 #4FB441 #4188B4
split-complementary
#A641B4 #88B441 #41B46D
monochromatic
#53215A #7D3187 #A641B4 #BD69C9 #D196D9

Accessibility & contrast

On white

5.20
#A641B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#A641B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641B4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B4#FFFFFF#000000##FFFFFF
##A641B41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#5171B1
Tritanopia (blue-blind)
#A85375
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a641b4;
/* rgb */ color: rgb(166, 65, 180);
/* oklch */ color: oklch(55.8% 0.192 322.6);
Tailwind
colors: {
  custom: {
    50: '#c37dcb',
    500: '#a641b4',
    950: '#000000',
  },
}
SCSS
$custom: #a641b4;
$custom-light: #c37dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b4",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 292.696,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.19249,
    "h": 322.6
  },
  "luminance": 0.15183
}

Semantic roles & 50–950 ramp

primary
#A641B4
secondary
#93C58C
accent
#D75161
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B4

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

Preview Lab → · Contrast checker → · Palette generator →

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