#B837B2#B837B2

#B837B2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.213 H 329.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B837B2
RGBrgb(184, 55, 178)
HSLhsl(303, 54%, 47%)
HSVhsv(303, 70%, 72%)
CMYKcmyk(0%, 70.1%, 3.3%, 27.8%)
CIE-LABlab(47.16, 65.03, -38.62)
CIE-LCHlch(47.16, 75.64, 329.29°)
OKLaboklab(57.24% 0.184 -0.1065)
OKLCHoklch(57.24% 0.213 329.9)
XYZxyz(29.1691, 16.1393, 43.6897)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B2 #37B83D
analogous
#7E37B8 #B837B2 #B83771
triadic
#B837B2 #B2B837 #37B2B8
tetradic
#B837B2 #B87E37 #37B83D #3771B8
square
#B837B2 #B87E37 #37B83D #3771B8
split-complementary
#B837B2 #71B837 #37B87E
monochromatic
#5A1B57 #892984 #B837B2 #CF5DC9 #DD8DD9

Accessibility & contrast

On white

4.97
#B837B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B837B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B2#FFFFFF#000000##FFFFFF
##B837B21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#5C76AF
Tritanopia (blue-blind)
#BF4771
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b2;
/* rgb */ color: rgb(184, 55, 178);
/* oklch */ color: oklch(57.2% 0.213 329.9);
Tailwind
colors: {
  custom: {
    50: '#d17ac9',
    500: '#b837b2',
    950: '#000000',
  },
}
SCSS
$custom: #b837b2;
$custom-light: #d17ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b2",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 302.791,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.21259,
    "h": 329.9
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#B837B2
secondary
#84C787
accent
#DD514A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837B2

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

Preview Lab → · Contrast checker → · Palette generator →

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