#B841BB#B841BB

#B841BB is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.7% C 0.208 H 326.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#B841BB
RGBrgb(184, 65, 187)
HSLhsl(299, 48%, 49%)
HSVhsv(299, 65%, 73%)
CMYKcmyk(1.6%, 65.2%, 0%, 26.7%)
CIE-LABlab(48.96, 62.79, -41.04)
CIE-LCHlch(48.96, 75.01, 326.83°)
OKLaboklab(58.69% 0.1737 -0.1136)
OKLCHoklch(58.69% 0.208 326.8)
XYZxyz(30.6266, 17.5608, 48.7805)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841BB #44BB41
analogous
#7B41BB #B841BB #BB4181
triadic
#B841BB #BBB841 #41BBB8
tetradic
#B841BB #BB7B41 #44BB41 #4181BB
square
#B841BB #BB7B41 #44BB41 #4181BB
split-complementary
#B841BB #81BB41 #41BB7B
monochromatic
#5F2160 #8B318E #B841BB #CA6DCC #DA9ADC

Accessibility & contrast

On white

4.65
#B841BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#B841BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B841BB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841BB#FFFFFF#000000##FFFFFF
##B841BB1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#BD5279
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b841bb;
/* rgb */ color: rgb(184, 65, 187);
/* oklch */ color: oklch(58.7% 0.208 326.8);
Tailwind
colors: {
  custom: {
    50: '#d17fd0',
    500: '#b841bb',
    950: '#000000',
  },
}
SCSS
$custom: #b841bb;
$custom-light: #d17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b841bb",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 298.525,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5869,
    "c": 0.20755,
    "h": 326.8
  },
  "luminance": 0.17559
}

Semantic roles & 50–950 ramp

primary
#B841BB
secondary
#91C890
accent
#D85053
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B841BB

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

Preview Lab → · Contrast checker → · Palette generator →

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