#A641B5#A641B5

#A641B5 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 322.3°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A641B5
RGBrgb(166, 65, 181)
HSLhsl(292, 47%, 48%)
HSVhsv(292, 64%, 71%)
CMYKcmyk(8.3%, 64.1%, 0%, 29%)
CIE-LABlab(45.94, 57.40, -42.49)
CIE-LCHlch(45.94, 71.42, 323.49°)
OKLaboklab(55.86% 0.153 -0.1183)
OKLCHoklch(55.86% 0.193 322.3)
XYZxyz(25.9558, 15.2252, 45.2787)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A641B5 #50B541
analogous
#6C41B5 #A641B5 #B5418A
triadic
#A641B5 #B5A641 #41B5A6
tetradic
#A641B5 #B56C41 #50B541 #418AB5
square
#A641B5 #B56C41 #50B541 #418AB5
split-complementary
#A641B5 #8AB541 #41B56C
monochromatic
#53215B #7D3188 #A641B5 #BD6AC9 #D197DA

Accessibility & contrast

On white

5.19
#A641B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A641B5
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A641B5#FFFFFF#000000##FFFFFF
##A641B51.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#5071B2
Tritanopia (blue-blind)
#A85375
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a641b5;
/* rgb */ color: rgb(166, 65, 181);
/* oklch */ color: oklch(55.9% 0.193 322.3);
Tailwind
colors: {
  custom: {
    50: '#c37dcc',
    500: '#a641b5',
    950: '#000000',
  },
}
SCSS
$custom: #a641b5;
$custom-light: #c37dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#a641b5",
  "rgb": {
    "r": 166,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 292.241,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.19339,
    "h": 322.3
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#A641B5
secondary
#94C58C
accent
#D75162
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #A641B5

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

Preview Lab → · Contrast checker → · Palette generator →

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