#B837C5#B837C5

#B837C5 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.228 H 323.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B837C5
RGBrgb(184, 55, 197)
HSLhsl(295, 56%, 49%)
HSVhsv(295, 72%, 77%)
CMYKcmyk(6.6%, 72.1%, 0%, 22.7%)
CIE-LABlab(48.20, 68.21, -48.04)
CIE-LCHlch(48.20, 83.43, 324.84°)
OKLaboklab(58.33% 0.1839 -0.1339)
OKLCHoklch(58.33% 0.228 323.9)
XYZxyz(31.2105, 16.9559, 54.4414)
Luminance0.1695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837C5 #44C537
analogous
#7137C5 #B837C5 #C5378B
triadic
#B837C5 #C5B837 #37C5B8
tetradic
#B837C5 #C57137 #44C537 #378BC5
square
#B837C5 #C57137 #44C537 #378BC5
split-complementary
#B837C5 #8BC537 #37C571
monochromatic
#5F1C65 #8B2A95 #B837C5 #CA65D4 #DA95E1

Accessibility & contrast

On white

4.78
#B837C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B837C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837C5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837C5#FFFFFF#000000##FFFFFF
##B837C51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069C9
Deuteranopia (green-blind)
#5178C2
Tritanopia (blue-blind)
#BB507B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b837c5;
/* rgb */ color: rgb(184, 55, 197);
/* oklch */ color: oklch(58.3% 0.228 323.9);
Tailwind
colors: {
  custom: {
    50: '#d17ad7',
    500: '#b837c5',
    950: '#000000',
  },
}
SCSS
$custom: #b837c5;
$custom-light: #d17ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#b837c5",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 197
  },
  "hsl": {
    "h": 294.507,
    "s": 56.349,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58326,
    "c": 0.22752,
    "h": 323.9
  },
  "luminance": 0.16954
}

Semantic roles & 50–950 ramp

primary
#B837C5
secondary
#91CD8B
accent
#E04856
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B837C5

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

Preview Lab → · Contrast checker → · Palette generator →

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