#B837B4#B837B4

#B837B4 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.214 H 329.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B837B4
RGBrgb(184, 55, 180)
HSLhsl(302, 54%, 47%)
HSVhsv(302, 70%, 72%)
CMYKcmyk(0%, 70.1%, 2.2%, 27.8%)
CIE-LABlab(47.26, 65.36, -39.63)
CIE-LCHlch(47.26, 76.43, 328.77°)
OKLaboklab(57.35% 0.184 -0.1095)
OKLCHoklch(57.35% 0.214 329.3)
XYZxyz(29.3713, 16.2202, 44.7550)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B4 #37B83B
analogous
#7B37B8 #B837B4 #B83774
triadic
#B837B4 #B4B837 #37B4B8
tetradic
#B837B4 #B87B37 #37B83B #3774B8
square
#B837B4 #B87B37 #37B83B #3774B8
split-complementary
#B837B4 #74B837 #37B87B
monochromatic
#5A1B58 #892986 #B837B4 #CF5DCB #DD8DDA

Accessibility & contrast

On white

4.95
#B837B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B837B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837B4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B4#FFFFFF#000000##FFFFFF
##B837B41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2665B8
Deuteranopia (green-blind)
#5B76B1
Tritanopia (blue-blind)
#BE4872
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b4;
/* rgb */ color: rgb(184, 55, 180);
/* oklch */ color: oklch(57.3% 0.214 329.3);
Tailwind
colors: {
  custom: {
    50: '#d17acb',
    500: '#b837b4',
    950: '#000000',
  },
}
SCSS
$custom: #b837b4;
$custom-light: #d17acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b4",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 301.86,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.21412,
    "h": 329.3
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#B837B4
secondary
#84C786
accent
#DD4F4A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837B4

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

Preview Lab → · Contrast checker → · Palette generator →

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