#A641B1#A641B1

#A641B1 is a mid, vivid purple. Relative luminance 0.151; OKLCH L 55.6% C 0.190 H 323.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A641B1
RGBrgb(166, 65, 177)
HSLhsl(294, 46%, 47%)
HSVhsv(294, 63%, 69%)
CMYKcmyk(6.2%, 63.3%, 0%, 30.6%)
CIE-LABlab(45.72, 56.66, -40.49)
CIE-LCHlch(45.72, 69.64, 324.45°)
OKLaboklab(55.63% 0.1529 -0.1125)
OKLCHoklch(55.63% 0.19 323.7)
XYZxyz(25.5513, 15.0633, 43.1481)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B1 #4CB141
analogous
#6E41B1 #A641B1 #B14184
triadic
#A641B1 #B1A641 #41B1A6
tetradic
#A641B1 #B16E41 #4CB141 #4184B1
square
#A641B1 #B16E41 #4CB141 #4184B1
split-complementary
#A641B1 #84B141 #41B16E
monochromatic
#522057 #7C3184 #A641B1 #BE68C7 #D195D8

Accessibility & contrast

On white

5.23
#A641B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A641B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641B1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B1#FFFFFF#000000##FFFFFF
##A641B11.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A65B4
Deuteranopia (green-blind)
#5270AE
Tritanopia (blue-blind)
#A95273
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a641b1;
/* rgb */ color: rgb(166, 65, 177);
/* oklch */ color: oklch(55.6% 0.190 323.7);
Tailwind
colors: {
  custom: {
    50: '#c37dc9',
    500: '#a641b1',
    950: '#000000',
  },
}
SCSS
$custom: #a641b1;
$custom-light: #c37dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b1",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 177
  },
  "hsl": {
    "h": 294.107,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.1898,
    "h": 323.7
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#A641B1
secondary
#90C38A
accent
#D6525F
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B1

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

Preview Lab → · Contrast checker → · Palette generator →

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