#B839BC#B839BC

#B839BC is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.218 H 326.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B839BC
RGBrgb(184, 57, 188)
HSLhsl(298, 53%, 48%)
HSVhsv(298, 70%, 74%)
CMYKcmyk(2.1%, 69.7%, 0%, 26.3%)
CIE-LABlab(47.94, 65.97, -43.23)
CIE-LCHlch(47.94, 78.88, 326.76°)
OKLaboklab(57.98% 0.1822 -0.1199)
OKLCHoklch(57.98% 0.218 326.6)
XYZxyz(30.3069, 16.7495, 49.2039)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839BC #3DBC39
analogous
#7639BC #B839BC #BC397E
triadic
#B839BC #BCB839 #39BCB8
tetradic
#B839BC #BC7639 #3DBC39 #397EBC
square
#B839BC #BC7639 #3DBC39 #397EBC
split-complementary
#B839BC #7EBC39 #39BC76
monochromatic
#5C1D5E #8A2B8D #B839BC #CC63D0 #DB92DE

Accessibility & contrast

On white

4.83
#B839BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B839BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839BC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839BC#FFFFFF#000000##FFFFFF
##B839BC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#5877B9
Tritanopia (blue-blind)
#BD4D77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b839bc;
/* rgb */ color: rgb(184, 57, 188);
/* oklch */ color: oklch(58.0% 0.218 326.6);
Tailwind
colors: {
  custom: {
    50: '#d17bd1',
    500: '#b839bc',
    950: '#000000',
  },
}
SCSS
$custom: #b839bc;
$custom-light: #d17bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b839bc",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 298.168,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57976,
    "c": 0.21809,
    "h": 326.6
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#B839BC
secondary
#8AC988
accent
#DD4B4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B839BC

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

Preview Lab → · Contrast checker → · Palette generator →

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