#B836BF#B836BF

#B836BF is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.224 H 325.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B836BF
RGBrgb(184, 54, 191)
HSLhsl(297, 56%, 48%)
HSVhsv(297, 72%, 75%)
CMYKcmyk(3.7%, 71.7%, 0%, 25.1%)
CIE-LABlab(47.74, 67.52, -45.30)
CIE-LCHlch(47.74, 81.31, 326.15°)
OKLaboklab(57.89% 0.1851 -0.1259)
OKLCHoklch(57.89% 0.224 325.8)
XYZxyz(30.4897, 16.5923, 50.8768)
Luminance0.1659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836BF #3DBF36
analogous
#7336BF #B836BF #BF3682
triadic
#B836BF #BFB836 #36BFB8
tetradic
#B836BF #BF7336 #3DBF36 #3682BF
square
#B836BF #BF7336 #3DBF36 #3682BF
split-complementary
#B836BF #82BF36 #36BF73
monochromatic
#5C1B60 #8A298F #B836BF #CC60D2 #DB90E0

Accessibility & contrast

On white

4.86
#B836BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B836BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836BF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836BF#FFFFFF#000000##FFFFFF
##B836BF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#BC4D77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b836bf;
/* rgb */ color: rgb(184, 54, 191);
/* oklch */ color: oklch(57.9% 0.224 325.8);
Tailwind
colors: {
  custom: {
    50: '#d17ad3',
    500: '#b836bf',
    950: '#000000',
  },
}
SCSS
$custom: #b836bf;
$custom-light: #d17ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b836bf",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 191
  },
  "hsl": {
    "h": 296.934,
    "s": 55.918,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.22382,
    "h": 325.8
  },
  "luminance": 0.1659
}

Semantic roles & 50–950 ramp

primary
#B836BF
secondary
#8ACA87
accent
#DF4950
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B836BF

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

Preview Lab → · Contrast checker → · Palette generator →

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