#B641A6#B641A6

#B641A6 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.190 H 333.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B641A6
RGBrgb(182, 65, 166)
HSLhsl(308, 47%, 48%)
HSVhsv(308, 64%, 71%)
CMYKcmyk(0%, 64.3%, 8.8%, 28.6%)
CIE-LABlab(47.60, 58.81, -30.88)
CIE-LCHlch(47.60, 66.43, 332.30°)
OKLaboklab(57.3% 0.1699 -0.0844)
OKLCHoklch(57.3% 0.19 333.6)
XYZxyz(28.0648, 16.4811, 37.7720)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641A6 #41B651
analogous
#8B41B6 #B641A6 #B6416B
triadic
#B641A6 #A6B641 #41A6B6
tetradic
#B641A6 #B68B41 #41B651 #416BB6
square
#B641A6 #B68B41 #41B651 #416BB6
split-complementary
#B641A6 #6BB641 #41B68B
monochromatic
#5C2154 #89317D #B641A6 #CA6ABD #DA97D1

Accessibility & contrast

On white

4.89
#B641A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B641A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641A6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641A6#FFFFFF#000000##FFFFFF
##B641A61.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#6577A3
Tritanopia (blue-blind)
#BE4A6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b641a6;
/* rgb */ color: rgb(182, 65, 166);
/* oklch */ color: oklch(57.3% 0.190 333.6);
Tailwind
colors: {
  custom: {
    50: '#cf7ec0',
    500: '#b641a6',
    950: '#000000',
  },
}
SCSS
$custom: #b641a6;
$custom-light: #cf7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#b641a6",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 166
  },
  "hsl": {
    "h": 308.205,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.18966,
    "h": 333.6
  },
  "luminance": 0.16479
}

Semantic roles & 50–950 ramp

primary
#B641A6
secondary
#8DC695
accent
#D76351
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B641A6

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

Preview Lab → · Contrast checker → · Palette generator →

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