#B837B7#B837B7

#B837B7 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.216 H 328.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B837B7
RGBrgb(184, 55, 183)
HSLhsl(300, 54%, 47%)
HSVhsv(300, 70%, 72%)
CMYKcmyk(0%, 70.1%, 0.5%, 27.8%)
CIE-LABlab(47.42, 65.85, -41.14)
CIE-LCHlch(47.42, 77.64, 328.01°)
OKLaboklab(57.51% 0.1841 -0.1138)
OKLCHoklch(57.51% 0.216 328.3)
XYZxyz(29.6802, 16.3437, 46.3820)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B7 #37B838
analogous
#7937B8 #B837B7 #B83777
triadic
#B837B7 #B7B837 #37B7B8
tetradic
#B837B7 #B87937 #37B838 #3777B8
square
#B837B7 #B87937 #37B838 #3777B8
split-complementary
#B837B7 #77B837 #37B879
monochromatic
#5A1B59 #892988 #B837B7 #CF5DCE #DD8DDC

Accessibility & contrast

On white

4.92
#B837B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B837B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837B7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B7#FFFFFF#000000##FFFFFF
##B837B71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2266BB
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#BE4A73
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b7;
/* rgb */ color: rgb(184, 55, 183);
/* oklch */ color: oklch(57.5% 0.216 328.3);
Tailwind
colors: {
  custom: {
    50: '#d17acd',
    500: '#b837b7',
    950: '#000000',
  },
}
SCSS
$custom: #b837b7;
$custom-light: #d17acd;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b7",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 300.465,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.21644,
    "h": 328.3
  },
  "luminance": 0.16342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B837B7

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

Preview Lab → · Contrast checker → · Palette generator →

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