#B837C4#B837C4

#B837C4 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.227 H 324.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B837C4
RGBrgb(184, 55, 196)
HSLhsl(295, 56%, 49%)
HSVhsv(295, 72%, 77%)
CMYKcmyk(6.1%, 71.9%, 0%, 23.1%)
CIE-LABlab(48.15, 68.04, -47.56)
CIE-LCHlch(48.15, 83.01, 325.05°)
OKLaboklab(58.27% 0.184 -0.1325)
OKLCHoklch(58.27% 0.227 324.2)
XYZxyz(31.0963, 16.9102, 53.8399)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837C4 #43C437
analogous
#7237C4 #B837C4 #C43789
triadic
#B837C4 #C4B837 #37C4B8
tetradic
#B837C4 #C47237 #43C437 #3789C4
square
#B837C4 #C47237 #43C437 #3789C4
split-complementary
#B837C4 #89C437 #37C472
monochromatic
#5E1C64 #8B2A94 #B837C4 #CA65D4 #DB94E1

Accessibility & contrast

On white

4.79
#B837C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B837C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837C4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837C4#FFFFFF#000000##FFFFFF
##B837C41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#5177C1
Tritanopia (blue-blind)
#BC507B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b837c4;
/* rgb */ color: rgb(184, 55, 196);
/* oklch */ color: oklch(58.3% 0.227 324.2);
Tailwind
colors: {
  custom: {
    50: '#d17ad6',
    500: '#b837c4',
    950: '#000000',
  },
}
SCSS
$custom: #b837c4;
$custom-light: #d17ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b837c4",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 294.894,
    "s": 56.175,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.22672,
    "h": 324.2
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

primary
#B837C4
secondary
#90CC8B
accent
#DF4855
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #B837C4

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

Preview Lab → · Contrast checker → · Palette generator →

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