#B837C7#B837C7

#B837C7 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.229 H 323.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B837C7
RGBrgb(184, 55, 199)
HSLhsl(294, 57%, 50%)
HSVhsv(294, 72%, 78%)
CMYKcmyk(7.5%, 72.4%, 0%, 22%)
CIE-LABlab(48.32, 68.56, -49.01)
CIE-LCHlch(48.32, 84.27, 324.44°)
OKLaboklab(58.45% 0.1839 -0.1368)
OKLCHoklch(58.45% 0.229 323.4)
XYZxyz(31.4412, 17.0481, 55.6563)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837C7 #46C737
analogous
#7037C7 #B837C7 #C7378E
triadic
#B837C7 #C7B837 #37C7B8
tetradic
#B837C7 #C77037 #46C737 #378EC7
square
#B837C7 #C77037 #46C737 #378EC7
split-complementary
#B837C7 #8EC737 #37C770
monochromatic
#5F1C67 #8C2A97 #B837C7 #C966D5 #DA96E2

Accessibility & contrast

On white

4.76
#B837C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B837C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837C7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837C7#FFFFFF#000000##FFFFFF
##B837C71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#4F78C4
Tritanopia (blue-blind)
#BB517C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b837c7;
/* rgb */ color: rgb(184, 55, 199);
/* oklch */ color: oklch(58.4% 0.229 323.4);
Tailwind
colors: {
  custom: {
    50: '#d17ad9',
    500: '#b837c7',
    950: '#000000',
  },
}
SCSS
$custom: #b837c7;
$custom-light: #d17ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#b837c7",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 199
  },
  "hsl": {
    "h": 293.75,
    "s": 56.693,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58447,
    "c": 0.22914,
    "h": 323.4
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#B837C7
secondary
#93CD8C
accent
#E04858
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #B837C7

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

Preview Lab → · Contrast checker → · Palette generator →

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