#B841BF#B841BF

#B841BF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.9% C 0.211 H 325.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B841BF
RGBrgb(184, 65, 191)
HSLhsl(297, 50%, 50%)
HSVhsv(297, 66%, 75%)
CMYKcmyk(3.7%, 66%, 0%, 25.1%)
CIE-LABlab(49.17, 63.48, -43.02)
CIE-LCHlch(49.17, 76.69, 325.87°)
OKLaboklab(58.91% 0.1738 -0.1194)
OKLCHoklch(58.91% 0.211 325.5)
XYZxyz(31.0608, 17.7345, 51.0672)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841BF #48BF41
analogous
#7941BF #B841BF #BF4187
triadic
#B841BF #BFB841 #41BFB8
tetradic
#B841BF #BF7941 #48BF41 #4187BF
square
#B841BF #BF7941 #48BF41 #4187BF
split-complementary
#B841BF #87BF41 #41BF79
monochromatic
#602264 #8C3192 #B841BF #C96FCE #DA9DDE

Accessibility & contrast

On white

4.62
#B841BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B841BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B841BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841BF#FFFFFF#000000##FFFFFF
##B841BF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC3
Deuteranopia (green-blind)
#5A7ABC
Tritanopia (blue-blind)
#BC547B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b841bf;
/* rgb */ color: rgb(184, 65, 191);
/* oklch */ color: oklch(58.9% 0.211 325.5);
Tailwind
colors: {
  custom: {
    50: '#d17fd3',
    500: '#b841bf',
    950: '#000000',
  },
}
SCSS
$custom: #b841bf;
$custom-light: #d17fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b841bf",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 296.667,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.21086,
    "h": 325.5
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#B841BF
secondary
#95CA92
accent
#D94F56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #B841BF

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

Preview Lab → · Contrast checker → · Palette generator →

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