#B841BC#B841BC

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

Color values

HEX#B841BC
RGBrgb(184, 65, 188)
HSLhsl(298, 49%, 50%)
HSVhsv(298, 65%, 74%)
CMYKcmyk(2.1%, 65.4%, 0%, 26.3%)
CIE-LABlab(49.01, 62.96, -41.54)
CIE-LCHlch(49.01, 75.43, 326.59°)
OKLaboklab(58.75% 0.1737 -0.1151)
OKLCHoklch(58.75% 0.208 326.5)
XYZxyz(30.7340, 17.6038, 49.3463)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841BC #45BC41
analogous
#7B41BC #B841BC #BC4182
triadic
#B841BC #BCB841 #41BCB8
tetradic
#B841BC #BC7B41 #45BC41 #4182BC
square
#B841BC #BC7B41 #45BC41 #4182BC
split-complementary
#B841BC #82BC41 #41BC7B
monochromatic
#5F2261 #8B318F #B841BC #CA6ECD #DA9BDC

Accessibility & contrast

On white

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

On black

4.52
#B841BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B841BC#FFFFFF#000000##FFFFFF
##B841BC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6BC0
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#BD5379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b841bc;
/* rgb */ color: rgb(184, 65, 188);
/* oklch */ color: oklch(58.7% 0.208 326.5);
Tailwind
colors: {
  custom: {
    50: '#d17fd0',
    500: '#b841bc',
    950: '#000000',
  },
}
SCSS
$custom: #b841bc;
$custom-light: #d17fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b841bc",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 298.049,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.20838,
    "h": 326.5
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#B841BC
secondary
#92C990
accent
#D85054
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B841BC

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

Preview Lab → · Contrast checker → · Palette generator →

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