#B839BF#B839BF

#B839BF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.220 H 325.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B839BF
RGBrgb(184, 57, 191)
HSLhsl(297, 54%, 49%)
HSVhsv(297, 70%, 75%)
CMYKcmyk(3.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(48.11, 66.48, -44.71)
CIE-LCHlch(48.11, 80.12, 326.08°)
OKLaboklab(58.15% 0.1822 -0.1242)
OKLCHoklch(58.15% 0.22 325.7)
XYZxyz(30.6336, 16.8802, 50.9248)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839BF #40BF39
analogous
#7539BF #B839BF #BF3983
triadic
#B839BF #BFB839 #39BFB8
tetradic
#B839BF #BF7539 #40BF39 #3983BF
square
#B839BF #BF7539 #40BF39 #3983BF
split-complementary
#B839BF #83BF39 #39BF75
monochromatic
#5D1D61 #8B2B90 #B839BF #CB64D1 #DB93DF

Accessibility & contrast

On white

4.80
#B839BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B839BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839BF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839BF#FFFFFF#000000##FFFFFF
##B839BF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1868C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#BC4F78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b839bf;
/* rgb */ color: rgb(184, 57, 191);
/* oklch */ color: oklch(58.1% 0.220 325.7);
Tailwind
colors: {
  custom: {
    50: '#d17bd3',
    500: '#b839bf',
    950: '#000000',
  },
}
SCSS
$custom: #b839bf;
$custom-light: #d17bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#b839bf",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 296.866,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.22048,
    "h": 325.7
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#B839BF
secondary
#8DCA8A
accent
#DD4A52
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B839BF

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

Preview Lab → · Contrast checker → · Palette generator →

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