#B836B9#B836B9

#B836B9 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.219 H 327.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B836B9
RGBrgb(184, 54, 185)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 73%)
CMYKcmyk(0.5%, 70.8%, 0%, 27.5%)
CIE-LABlab(47.41, 66.52, -42.33)
CIE-LCHlch(47.41, 78.85, 327.53°)
OKLaboklab(57.54% 0.1851 -0.1173)
OKLCHoklch(57.54% 0.219 327.6)
XYZxyz(29.8429, 16.3336, 47.4704)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836B9 #37B936
analogous
#7736B9 #B836B9 #B93679
triadic
#B836B9 #B9B836 #36B9B8
tetradic
#B836B9 #B97736 #37B936 #3679B9
square
#B836B9 #B97736 #37B936 #3679B9
split-complementary
#B836B9 #79B936 #36B977
monochromatic
#5A1A5A #89288A #B836B9 #CF5DD0 #DD8CDD

Accessibility & contrast

On white

4.92
#B836B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B836B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836B9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836B9#FFFFFF#000000##FFFFFF
##B836B91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BD
Deuteranopia (green-blind)
#5876B6
Tritanopia (blue-blind)
#BE4A74
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b836b9;
/* rgb */ color: rgb(184, 54, 185);
/* oklch */ color: oklch(57.5% 0.219 327.6);
Tailwind
colors: {
  custom: {
    50: '#d179ce',
    500: '#b836b9',
    950: '#000000',
  },
}
SCSS
$custom: #b836b9;
$custom-light: #d179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b836b9",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 185
  },
  "hsl": {
    "h": 299.542,
    "s": 54.812,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5754,
    "c": 0.21912,
    "h": 327.6
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#B836B9
secondary
#84C883
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B836B9

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

Preview Lab → · Contrast checker → · Palette generator →

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