#B836BC#B836BC

#B836BC is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.221 H 326.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B836BC
RGBrgb(184, 54, 188)
HSLhsl(298, 55%, 47%)
HSVhsv(298, 71%, 74%)
CMYKcmyk(2.1%, 71.3%, 0%, 26.3%)
CIE-LABlab(47.57, 67.02, -43.82)
CIE-LCHlch(47.57, 80.07, 326.82°)
OKLaboklab(57.71% 0.1851 -0.1216)
OKLCHoklch(57.71% 0.221 326.7)
XYZxyz(30.1629, 16.4616, 49.1559)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836BC #3ABC36
analogous
#7536BC #B836BC #BC367D
triadic
#B836BC #BCB836 #36BCB8
tetradic
#B836BC #BC7536 #3ABC36 #367DBC
square
#B836BC #BC7536 #3ABC36 #367DBC
split-complementary
#B836BC #7DBC36 #36BC75
monochromatic
#5B1B5D #89288C #B836BC #CD5ED1 #DC8EDF

Accessibility & contrast

On white

4.89
#B836BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B836BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836BC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836BC#FFFFFF#000000##FFFFFF
##B836BC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#5677B9
Tritanopia (blue-blind)
#BD4B76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b836bc;
/* rgb */ color: rgb(184, 54, 188);
/* oklch */ color: oklch(57.7% 0.221 326.7);
Tailwind
colors: {
  custom: {
    50: '#d17ad1',
    500: '#b836bc',
    950: '#000000',
  },
}
SCSS
$custom: #b836bc;
$custom-light: #d17ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b836bc",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 188
  },
  "hsl": {
    "h": 298.209,
    "s": 55.372,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.22146,
    "h": 326.7
  },
  "luminance": 0.1646
}

Semantic roles & 50–950 ramp

primary
#B836BC
secondary
#87C985
accent
#DF494E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B836BC

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

Preview Lab → · Contrast checker → · Palette generator →

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