#B836C5#B836C5

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

Color values

HEX#B836C5
RGBrgb(184, 54, 197)
HSLhsl(295, 57%, 49%)
HSVhsv(295, 73%, 77%)
CMYKcmyk(6.6%, 72.6%, 0%, 22.7%)
CIE-LABlab(48.09, 68.55, -48.23)
CIE-LCHlch(48.09, 83.82, 324.87°)
OKLaboklab(58.24% 0.1849 -0.1345)
OKLCHoklch(58.24% 0.229 324)
XYZxyz(31.1635, 16.8618, 54.4257)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836C5 #43C536
analogous
#7036C5 #B836C5 #C5368B
triadic
#B836C5 #C5B836 #36C5B8
tetradic
#B836C5 #C57036 #43C536 #368BC5
square
#B836C5 #C57036 #43C536 #368BC5
split-complementary
#B836C5 #8BC536 #36C570
monochromatic
#5E1C65 #8B2995 #B836C5 #CA64D4 #DB94E2

Accessibility & contrast

On white

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

On black

4.37
#B836C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B836C5#FFFFFF#000000##FFFFFF
##B836C51.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#5077C2
Tritanopia (blue-blind)
#BB4F7B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b836c5;
/* rgb */ color: rgb(184, 54, 197);
/* oklch */ color: oklch(58.2% 0.229 324.0);
Tailwind
colors: {
  custom: {
    50: '#d17ad7',
    500: '#b836c5',
    950: '#000000',
  },
}
SCSS
$custom: #b836c5;
$custom-light: #d17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b836c5",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 197
  },
  "hsl": {
    "h": 294.545,
    "s": 56.972,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58241,
    "c": 0.2286,
    "h": 324
  },
  "luminance": 0.1686
}

Semantic roles & 50–950 ramp

primary
#B836C5
secondary
#90CD8A
accent
#E04855
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B836C5

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

Preview Lab → · Contrast checker → · Palette generator →

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