#B841B2#B841B2

#B841B2 is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.2% C 0.200 H 329.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B841B2
RGBrgb(184, 65, 178)
HSLhsl(303, 48%, 49%)
HSVhsv(303, 65%, 72%)
CMYKcmyk(0%, 64.7%, 3.3%, 27.8%)
CIE-LABlab(48.50, 61.27, -36.51)
CIE-LCHlch(48.50, 71.33, 329.21°)
OKLaboklab(58.2% 0.1732 -0.1005)
OKLCHoklch(58.2% 0.2 329.9)
XYZxyz(29.6931, 17.1874, 43.8644)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841B2 #41B847
analogous
#8341B8 #B841B2 #B84177
triadic
#B841B2 #B2B841 #41B2B8
tetradic
#B841B2 #B88341 #41B847 #4177B8
square
#B841B2 #B88341 #41B847 #4177B8
split-complementary
#B841B2 #77B841 #41B883
monochromatic
#5E215B #8B3186 #B841B2 #CB6BC6 #DB99D7

Accessibility & contrast

On white

4.73
#B841B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B841B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B841B2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841B2#FFFFFF#000000##FFFFFF
##B841B21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3669B5
Deuteranopia (green-blind)
#6179AF
Tritanopia (blue-blind)
#BF4F74
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b841b2;
/* rgb */ color: rgb(184, 65, 178);
/* oklch */ color: oklch(58.2% 0.200 329.9);
Tailwind
colors: {
  custom: {
    50: '#d17ec9',
    500: '#b841b2',
    950: '#000000',
  },
}
SCSS
$custom: #b841b2;
$custom-light: #d17ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b841b2",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 178
  },
  "hsl": {
    "h": 303.025,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.20024,
    "h": 329.9
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#B841B2
secondary
#8EC791
accent
#D75750
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B841B2

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

Preview Lab → · Contrast checker → · Palette generator →

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