#B841BA#B841BA

#B841BA is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.6% C 0.207 H 327.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B841BA
RGBrgb(184, 65, 186)
HSLhsl(299, 48%, 49%)
HSVhsv(299, 65%, 73%)
CMYKcmyk(1.1%, 65.1%, 0%, 27.1%)
CIE-LABlab(48.91, 62.62, -40.54)
CIE-LCHlch(48.91, 74.60, 327.08°)
OKLaboklab(58.64% 0.1737 -0.1122)
OKLCHoklch(58.64% 0.207 327.1)
XYZxyz(30.5199, 17.5181, 48.2187)
Luminance0.1752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841BA #43BA41
analogous
#7C41BA #B841BA #BA4180
triadic
#B841BA #BAB841 #41BAB8
tetradic
#B841BA #BA7C41 #43BA41 #4180BA
square
#B841BA #BA7C41 #43BA41 #4180BA
split-complementary
#B841BA #80BA41 #41BA7C
monochromatic
#5E215F #8B318D #B841BA #CA6CCC #DB9ADC

Accessibility & contrast

On white

4.66
#B841BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B841BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B841BA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841BA#FFFFFF#000000##FFFFFF
##B841BA1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6ABE
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#BD5278
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b841ba;
/* rgb */ color: rgb(184, 65, 186);
/* oklch */ color: oklch(58.6% 0.207 327.1);
Tailwind
colors: {
  custom: {
    50: '#d17fcf',
    500: '#b841ba',
    950: '#000000',
  },
}
SCSS
$custom: #b841ba;
$custom-light: #d17fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b841ba",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 299.008,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58635,
    "c": 0.20672,
    "h": 327.1
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#B841BA
secondary
#90C88F
accent
#D85052
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B841BA

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

Preview Lab → · Contrast checker → · Palette generator →

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