#B641AB#B641AB

#B641AB is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.6% C 0.194 H 331.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B641AB
RGBrgb(182, 65, 171)
HSLhsl(306, 47%, 48%)
HSVhsv(306, 64%, 71%)
CMYKcmyk(0%, 64.3%, 6%, 28.6%)
CIE-LABlab(47.84, 59.62, -33.45)
CIE-LCHlch(47.84, 68.36, 330.70°)
OKLaboklab(57.55% 0.1704 -0.0917)
OKLCHoklch(57.55% 0.194 331.7)
XYZxyz(28.5324, 16.6681, 40.2347)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641AB #41B64C
analogous
#8641B6 #B641AB #B64170
triadic
#B641AB #ABB641 #41ABB6
tetradic
#B641AB #B68641 #41B64C #4170B6
square
#B641AB #B68641 #41B64C #4170B6
split-complementary
#B641AB #70B641 #41B686
monochromatic
#5C2156 #893181 #B641AB #CA6AC1 #DA97D4

Accessibility & contrast

On white

4.85
#B641AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B641AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641AB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641AB#FFFFFF#000000##FFFFFF
##B641AB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#6377A8
Tritanopia (blue-blind)
#BD4C70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b641ab;
/* rgb */ color: rgb(182, 65, 171);
/* oklch */ color: oklch(57.6% 0.194 331.7);
Tailwind
colors: {
  custom: {
    50: '#cf7ec4',
    500: '#b641ab',
    950: '#000000',
  },
}
SCSS
$custom: #b641ab;
$custom-light: #cf7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#b641ab",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 305.641,
    "s": 47.368,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.19354,
    "h": 331.7
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#B641AB
secondary
#8DC692
accent
#D75D51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B641AB

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

Preview Lab → · Contrast checker → · Palette generator →

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