#B837B6#B837B6

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

Color values

HEX#B837B6
RGBrgb(184, 55, 182)
HSLhsl(301, 54%, 47%)
HSVhsv(301, 70%, 72%)
CMYKcmyk(0%, 70.1%, 1.1%, 27.8%)
CIE-LABlab(47.37, 65.68, -40.64)
CIE-LCHlch(47.37, 77.24, 328.26°)
OKLaboklab(57.46% 0.1841 -0.1124)
OKLCHoklch(57.46% 0.216 328.6)
XYZxyz(29.5765, 16.3023, 45.8358)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B6 #37B839
analogous
#7A37B8 #B837B6 #B83776
triadic
#B837B6 #B6B837 #37B6B8
tetradic
#B837B6 #B87A37 #37B839 #3776B8
square
#B837B6 #B87A37 #37B839 #3776B8
split-complementary
#B837B6 #76B837 #37B87A
monochromatic
#5A1B59 #892987 #B837B6 #CF5DCD #DD8DDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B837B6#FFFFFF#000000##FFFFFF
##B837B61.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)
#2465BA
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#BE4973
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b6;
/* rgb */ color: rgb(184, 55, 182);
/* oklch */ color: oklch(57.5% 0.216 328.6);
Tailwind
colors: {
  custom: {
    50: '#d17acc',
    500: '#b837b6',
    950: '#000000',
  },
}
SCSS
$custom: #b837b6;
$custom-light: #d17acc;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b6",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 300.93,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.21567,
    "h": 328.6
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#B837B6
secondary
#84C785
accent
#DD4D4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837B6

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

Preview Lab → · Contrast checker → · Palette generator →

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