#B837BD#B837BD

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

Color values

HEX#B837BD
RGBrgb(184, 55, 189)
HSLhsl(298, 55%, 48%)
HSVhsv(298, 71%, 74%)
CMYKcmyk(2.6%, 70.9%, 0%, 25.9%)
CIE-LABlab(47.75, 66.84, -44.12)
CIE-LCHlch(47.75, 80.09, 326.57°)
OKLaboklab(57.86% 0.1841 -0.1225)
OKLCHoklch(57.86% 0.221 326.4)
XYZxyz(30.3181, 16.5989, 49.7413)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837BD #3CBD37
analogous
#7537BD #B837BD #BD377F
triadic
#B837BD #BDB837 #37BDB8
tetradic
#B837BD #BD7537 #3CBD37 #377FBD
square
#B837BD #BD7537 #3CBD37 #377FBD
split-complementary
#B837BD #7FBD37 #37BD75
monochromatic
#5C1B5E #8A298E #B837BD #CD60D1 #DC90DF

Accessibility & contrast

On white

4.86
#B837BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#B837BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837BD#FFFFFF#000000##FFFFFF
##B837BD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C1
Deuteranopia (green-blind)
#5677BA
Tritanopia (blue-blind)
#BD4C77
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837bd;
/* rgb */ color: rgb(184, 55, 189);
/* oklch */ color: oklch(57.9% 0.221 326.4);
Tailwind
colors: {
  custom: {
    50: '#d17ad1',
    500: '#b837bd',
    950: '#000000',
  },
}
SCSS
$custom: #b837bd;
$custom-light: #d17ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b837bd",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 189
  },
  "hsl": {
    "h": 297.761,
    "s": 54.918,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57856,
    "c": 0.22115,
    "h": 326.4
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#B837BD
secondary
#89C986
accent
#DE4A4F
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B837BD

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

Preview Lab → · Contrast checker → · Palette generator →

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