#B837BE#B837BE

#B837BE is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.222 H 326.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B837BE
RGBrgb(184, 55, 190)
HSLhsl(297, 55%, 48%)
HSVhsv(297, 71%, 75%)
CMYKcmyk(3.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(47.81, 67.01, -44.61)
CIE-LCHlch(47.81, 80.50, 326.35°)
OKLaboklab(57.91% 0.1841 -0.1239)
OKLCHoklch(57.91% 0.222 326.1)
XYZxyz(30.4270, 16.6425, 50.3149)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837BE #3DBE37
analogous
#7437BE #B837BE #BE3781
triadic
#B837BE #BEB837 #37BEB8
tetradic
#B837BE #BE7437 #3DBE37 #3781BE
square
#B837BE #BE7437 #3DBE37 #3781BE
split-complementary
#B837BE #81BE37 #37BE74
monochromatic
#5C1C5F #8A298F #B837BE #CC61D1 #DB90DF

Accessibility & contrast

On white

4.85
#B837BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B837BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837BE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837BE#FFFFFF#000000##FFFFFF
##B837BE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1567C2
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#BD4D77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837be;
/* rgb */ color: rgb(184, 55, 190);
/* oklch */ color: oklch(57.9% 0.222 326.1);
Tailwind
colors: {
  custom: {
    50: '#d17ad2',
    500: '#b837be',
    950: '#000000',
  },
}
SCSS
$custom: #b837be;
$custom-light: #d17ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b837be",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 297.333,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.22194,
    "h": 326.1
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#B837BE
secondary
#8ACA87
accent
#DE4950
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B837BE

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

Preview Lab → · Contrast checker → · Palette generator →

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