#B837B8#B837B8

#B837B8 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.217 H 327.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B837B8
RGBrgb(184, 55, 184)
HSLhsl(300, 54%, 47%)
HSVhsv(300, 70%, 72%)
CMYKcmyk(0%, 70.1%, 0%, 27.8%)
CIE-LABlab(47.48, 66.01, -41.64)
CIE-LCHlch(47.48, 78.05, 327.76°)
OKLaboklab(57.57% 0.1841 -0.1153)
OKLCHoklch(57.57% 0.217 327.9)
XYZxyz(29.7847, 16.3855, 46.9321)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B8 #37B837
analogous
#7837B8 #B837B8 #B83778
triadic
#B837B8 #B8B837 #37B8B8
tetradic
#B837B8 #B87837 #37B837 #3778B8
square
#B837B8 #B87837 #37B837 #3778B8
split-complementary
#B837B8 #78B837 #37B878
monochromatic
#5A1B5A #892989 #B837B8 #CF5DCF #DD8DDD

Accessibility & contrast

On white

4.91
#B837B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#B837B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837B8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B8#FFFFFF#000000##FFFFFF
##B837B81.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#BE4A74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837b8;
/* rgb */ color: rgb(184, 55, 184);
/* oklch */ color: oklch(57.6% 0.217 327.9);
Tailwind
colors: {
  custom: {
    50: '#d17ace',
    500: '#b837b8',
    950: '#000000',
  },
}
SCSS
$custom: #b837b8;
$custom-light: #d17ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b8",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 300,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5757,
    "c": 0.21722,
    "h": 327.9
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#B837B8
secondary
#84C784
accent
#DD4A4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837B8

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

Preview Lab → · Contrast checker → · Palette generator →

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