#B836B2#B836B2

#B836B2 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.1% C 0.214 H 329.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B836B2
RGBrgb(184, 54, 178)
HSLhsl(303, 55%, 47%)
HSVhsv(303, 71%, 72%)
CMYKcmyk(0%, 70.7%, 3.3%, 27.8%)
CIE-LABlab(47.03, 65.38, -38.82)
CIE-LCHlch(47.03, 76.04, 329.30°)
OKLaboklab(57.15% 0.185 -0.1071)
OKLCHoklch(57.15% 0.214 329.9)
XYZxyz(29.1220, 16.0452, 43.6741)
Luminance0.1604 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836B2 #36B83C
analogous
#7D36B8 #B836B2 #B83671
triadic
#B836B2 #B2B836 #36B2B8
tetradic
#B836B2 #B87D36 #36B83C #3671B8
square
#B836B2 #B87D36 #36B83C #3671B8
split-complementary
#B836B2 #71B836 #36B87D
monochromatic
#591A56 #892884 #B836B2 #CF5CCA #DD8BD9

Accessibility & contrast

On white

4.99
#B836B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B836B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836B2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836B2#FFFFFF#000000##FFFFFF
##B836B21.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#BF4770
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b836b2;
/* rgb */ color: rgb(184, 54, 178);
/* oklch */ color: oklch(57.1% 0.214 329.9);
Tailwind
colors: {
  custom: {
    50: '#d179c9',
    500: '#b836b2',
    950: '#000000',
  },
}
SCSS
$custom: #b836b2;
$custom-light: #d179c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b836b2",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 302.769,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.21373,
    "h": 329.9
  },
  "luminance": 0.16043
}

Semantic roles & 50–950 ramp

primary
#B836B2
secondary
#82C786
accent
#DE514A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B836B2

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

Preview Lab → · Contrast checker → · Palette generator →

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