#B837BC#B837BC

#B837BC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.8% C 0.220 H 326.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B837BC
RGBrgb(184, 55, 188)
HSLhsl(298, 55%, 48%)
HSVhsv(298, 71%, 74%)
CMYKcmyk(2.1%, 70.7%, 0%, 26.3%)
CIE-LABlab(47.70, 66.68, -43.62)
CIE-LCHlch(47.70, 79.68, 326.80°)
OKLaboklab(57.8% 0.1841 -0.121)
OKLCHoklch(57.8% 0.22 326.7)
XYZxyz(30.2099, 16.5556, 49.1716)
Luminance0.1655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837BC #3BBC37
analogous
#7537BC #B837BC #BC377E
triadic
#B837BC #BCB837 #37BCB8
tetradic
#B837BC #BC7537 #3BBC37 #377EBC
square
#B837BC #BC7537 #3BBC37 #377EBC
split-complementary
#B837BC #7EBC37 #37BC75
monochromatic
#5B1B5D #8A298D #B837BC #CD60D0 #DC8FDE

Accessibility & contrast

On white

4.87
#B837BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B837BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837BC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837BC#FFFFFF#000000##FFFFFF
##B837BC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A67C0
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#BD4C76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837bc;
/* rgb */ color: rgb(184, 55, 188);
/* oklch */ color: oklch(57.8% 0.220 326.7);
Tailwind
colors: {
  custom: {
    50: '#d17ad1',
    500: '#b837bc',
    950: '#000000',
  },
}
SCSS
$custom: #b837bc;
$custom-light: #d17ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b837bc",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 188
  },
  "hsl": {
    "h": 298.195,
    "s": 54.733,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57798,
    "c": 0.22036,
    "h": 326.7
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#B837BC
secondary
#88C986
accent
#DE4A4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B837BC

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

Preview Lab → · Contrast checker → · Palette generator →

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