#B837B3#B837B3

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

Color values

HEX#B837B3
RGBrgb(184, 55, 179)
HSLhsl(302, 54%, 47%)
HSVhsv(302, 70%, 72%)
CMYKcmyk(0%, 70.1%, 2.7%, 27.8%)
CIE-LABlab(47.21, 65.19, -39.13)
CIE-LCHlch(47.21, 76.03, 329.03°)
OKLaboklab(57.29% 0.184 -0.108)
OKLCHoklch(57.29% 0.213 329.6)
XYZxyz(29.2698, 16.1796, 44.2204)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B3 #37B83C
analogous
#7D37B8 #B837B3 #B83772
triadic
#B837B3 #B3B837 #37B3B8
tetradic
#B837B3 #B87D37 #37B83C #3772B8
square
#B837B3 #B87D37 #37B83C #3772B8
split-complementary
#B837B3 #72B837 #37B87D
monochromatic
#5A1B57 #892985 #B837B3 #CF5DCA #DD8DDA

Accessibility & contrast

On white

4.96
#B837B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B837B3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B3#FFFFFF#000000##FFFFFF
##B837B31.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#BF4871
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b837b3;
/* rgb */ color: rgb(184, 55, 179);
/* oklch */ color: oklch(57.3% 0.213 329.6);
Tailwind
colors: {
  custom: {
    50: '#d17aca',
    500: '#b837b3',
    950: '#000000',
  },
}
SCSS
$custom: #b837b3;
$custom-light: #d17aca;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b3",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 302.326,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57292,
    "c": 0.21336,
    "h": 329.6
  },
  "luminance": 0.16177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B837B3

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

Preview Lab → · Contrast checker → · Palette generator →

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