#A641B7#A641B7

#A641B7 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 56.0% C 0.195 H 321.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A641B7
RGBrgb(166, 65, 183)
HSLhsl(291, 48%, 49%)
HSVhsv(291, 64%, 72%)
CMYKcmyk(9.3%, 64.5%, 0%, 28.2%)
CIE-LABlab(46.05, 57.78, -43.48)
CIE-LCHlch(46.05, 72.31, 323.04°)
OKLaboklab(55.98% 0.153 -0.1212)
OKLCHoklch(55.98% 0.195 321.6)
XYZxyz(26.1625, 15.3078, 46.3672)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B7 #52B741
analogous
#6B41B7 #A641B7 #B7418D
triadic
#A641B7 #B7A641 #41B7A6
tetradic
#A641B7 #B76B41 #52B741 #418DB7
square
#A641B7 #B76B41 #52B741 #418DB7
split-complementary
#A641B7 #8DB741 #41B76B
monochromatic
#54215D #7D318A #A641B7 #BD6BCA #D198DA

Accessibility & contrast

On white

5.17
#A641B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A641B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A641B7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B7#FFFFFF#000000##FFFFFF
##A641B71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2366BB
Deuteranopia (green-blind)
#4F71B4
Tritanopia (blue-blind)
#A85476
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a641b7;
/* rgb */ color: rgb(166, 65, 183);
/* oklch */ color: oklch(56.0% 0.195 321.6);
Tailwind
colors: {
  custom: {
    50: '#c47dcd',
    500: '#a641b7',
    950: '#000000',
  },
}
SCSS
$custom: #a641b7;
$custom-light: #c47dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b7",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 291.356,
    "s": 47.581,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.1952,
    "h": 321.6
  },
  "luminance": 0.15306
}

Semantic roles & 50–950 ramp

primary
#A641B7
secondary
#96C68E
accent
#D75164
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B7

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

Preview Lab → · Contrast checker → · Palette generator →

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