#B837BF#B837BF

#B837BF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.223 H 325.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B837BF
RGBrgb(184, 55, 191)
HSLhsl(297, 55%, 48%)
HSVhsv(297, 71%, 75%)
CMYKcmyk(3.7%, 71.2%, 0%, 25.1%)
CIE-LABlab(47.86, 67.18, -45.11)
CIE-LCHlch(47.86, 80.92, 326.12°)
OKLaboklab(57.97% 0.1841 -0.1254)
OKLCHoklch(57.97% 0.223 325.7)
XYZxyz(30.5367, 16.6863, 50.8925)
Luminance0.1668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837BF #3EBF37
analogous
#7437BF #B837BF #BF3782
triadic
#B837BF #BFB837 #37BFB8
tetradic
#B837BF #BF7437 #3EBF37 #3782BF
square
#B837BF #BF7437 #3EBF37 #3782BF
split-complementary
#B837BF #82BF37 #37BF74
monochromatic
#5C1C60 #8A298F #B837BF #CC62D2 #DB91DF

Accessibility & contrast

On white

4.84
#B837BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#B837BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837BF#FFFFFF#000000##FFFFFF
##B837BF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#5577BC
Tritanopia (blue-blind)
#BC4D78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b837bf;
/* rgb */ color: rgb(184, 55, 191);
/* oklch */ color: oklch(58.0% 0.223 325.7);
Tailwind
colors: {
  custom: {
    50: '#d17ad3',
    500: '#b837bf',
    950: '#000000',
  },
}
SCSS
$custom: #b837bf;
$custom-light: #d17ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#b837bf",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 296.912,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57972,
    "c": 0.22273,
    "h": 325.7
  },
  "luminance": 0.16684
}

Semantic roles & 50–950 ramp

primary
#B837BF
secondary
#8BCA88
accent
#DF4951
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B837BF

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

Preview Lab → · Contrast checker → · Palette generator →

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