#B837B5#B837B5

#B837B5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.215 H 328.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B837B5
RGBrgb(184, 55, 181)
HSLhsl(301, 54%, 47%)
HSVhsv(301, 70%, 72%)
CMYKcmyk(0%, 70.1%, 1.6%, 27.8%)
CIE-LABlab(47.32, 65.52, -40.13)
CIE-LCHlch(47.32, 76.83, 328.51°)
OKLaboklab(57.4% 0.1841 -0.1109)
OKLCHoklch(57.4% 0.215 328.9)
XYZxyz(29.4736, 16.2611, 45.2934)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B5 #37B83A
analogous
#7A37B8 #B837B5 #B83775
triadic
#B837B5 #B5B837 #37B5B8
tetradic
#B837B5 #B87A37 #37B83A #3775B8
square
#B837B5 #B87A37 #37B83A #3775B8
split-complementary
#B837B5 #75B837 #37B87A
monochromatic
#5A1B58 #892987 #B837B5 #CF5DCC #DD8DDB

Accessibility & contrast

On white

4.94
#B837B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#B837B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837B5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B5#FFFFFF#000000##FFFFFF
##B837B51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2565B9
Deuteranopia (green-blind)
#5B76B2
Tritanopia (blue-blind)
#BE4972
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b5;
/* rgb */ color: rgb(184, 55, 181);
/* oklch */ color: oklch(57.4% 0.215 328.9);
Tailwind
colors: {
  custom: {
    50: '#d17acb',
    500: '#b837b5',
    950: '#000000',
  },
}
SCSS
$custom: #b837b5;
$custom-light: #d17acb;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b5",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 301.395,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.2149,
    "h": 328.9
  },
  "luminance": 0.16259
}

Semantic roles & 50–950 ramp

primary
#B837B5
secondary
#84C785
accent
#DD4E4A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837B5

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

Preview Lab → · Contrast checker → · Palette generator →

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