#B836B8#B836B8

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

Color values

HEX#B836B8
RGBrgb(184, 54, 184)
HSLhsl(300, 55%, 47%)
HSVhsv(300, 71%, 72%)
CMYKcmyk(0%, 70.7%, 0%, 27.8%)
CIE-LABlab(47.35, 66.36, -41.83)
CIE-LCHlch(47.35, 78.44, 327.77°)
OKLaboklab(57.48% 0.1851 -0.1158)
OKLCHoklch(57.48% 0.218 328)
XYZxyz(29.7377, 16.2915, 46.9164)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B836B8 #36B836
analogous
#7736B8 #B836B8 #B83677
triadic
#B836B8 #B8B836 #36B8B8
tetradic
#B836B8 #B87736 #36B836 #3677B8
square
#B836B8 #B87736 #36B836 #3677B8
split-complementary
#B836B8 #77B836 #36B877
monochromatic
#591A59 #892889 #B836B8 #CF5CCF #DD8BDD

Accessibility & contrast

On white

4.93
#B836B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#B836B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B836B8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B836B8#FFFFFF#000000##FFFFFF
##B836B81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F65BC
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#BE4974
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b836b8;
/* rgb */ color: rgb(184, 54, 184);
/* oklch */ color: oklch(57.5% 0.218 328.0);
Tailwind
colors: {
  custom: {
    50: '#d179ce',
    500: '#b836b8',
    950: '#000000',
  },
}
SCSS
$custom: #b836b8;
$custom-light: #d179ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b836b8",
  "rgb": {
    "r": 184,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.57483,
    "c": 0.21835,
    "h": 328
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#B836B8
secondary
#82C782
accent
#DE4A4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B836B8

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

Preview Lab → · Contrast checker → · Palette generator →

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