#B641BA#B641BA

#B641BA is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.4% C 0.206 H 326.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B641BA
RGBrgb(182, 65, 186)
HSLhsl(298, 48%, 49%)
HSVhsv(298, 65%, 73%)
CMYKcmyk(2.2%, 65.1%, 0%, 27.1%)
CIE-LABlab(48.60, 62.14, -41.04)
CIE-LCHlch(48.60, 74.47, 326.56°)
OKLaboklab(58.35% 0.1714 -0.1137)
OKLCHoklch(58.35% 0.206 326.5)
XYZxyz(30.0441, 17.2728, 48.1964)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B641BA #45BA41
analogous
#7A41BA #B641BA #BA4181
triadic
#B641BA #BAB641 #41BAB6
tetradic
#B641BA #BA7A41 #45BA41 #4181BA
square
#B641BA #BA7A41 #45BA41 #4181BA
split-complementary
#B641BA #81BA41 #41BA7A
monochromatic
#5D215F #8A318D #B641BA #C96CCC #D99ADC

Accessibility & contrast

On white

4.71
#B641BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#B641BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B641BA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B641BA#FFFFFF#000000##FFFFFF
##B641BA1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6ABE
Deuteranopia (green-blind)
#5B79B7
Tritanopia (blue-blind)
#BB5278
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b641ba;
/* rgb */ color: rgb(182, 65, 186);
/* oklch */ color: oklch(58.4% 0.206 326.5);
Tailwind
colors: {
  custom: {
    50: '#cf7ecf',
    500: '#b641ba',
    950: '#000000',
  },
}
SCSS
$custom: #b641ba;
$custom-light: #cf7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#b641ba",
  "rgb": {
    "r": 182,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 298.017,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58354,
    "c": 0.20569,
    "h": 326.5
  },
  "luminance": 0.17271
}

Semantic roles & 50–950 ramp

primary
#B641BA
secondary
#91C88F
accent
#D85055
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B641BA

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

Preview Lab → · Contrast checker → · Palette generator →

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