#B837C3#B837C3

#B837C3 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.2% C 0.226 H 324.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B837C3
RGBrgb(184, 55, 195)
HSLhsl(295, 56%, 49%)
HSVhsv(295, 72%, 76%)
CMYKcmyk(5.6%, 71.8%, 0%, 23.5%)
CIE-LABlab(48.09, 67.86, -47.07)
CIE-LCHlch(48.09, 82.59, 325.26°)
OKLaboklab(58.21% 0.184 -0.1311)
OKLCHoklch(58.21% 0.226 324.5)
XYZxyz(30.9829, 16.8648, 53.2425)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837C3 #42C337
analogous
#7237C3 #B837C3 #C33788
triadic
#B837C3 #C3B837 #37C3B8
tetradic
#B837C3 #C37237 #42C337 #3788C3
square
#B837C3 #C37237 #42C337 #3788C3
split-complementary
#B837C3 #88C337 #37C372
monochromatic
#5E1C64 #8B2A93 #B837C3 #CB64D3 #DB94E1

Accessibility & contrast

On white

4.80
#B837C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#B837C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837C3
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837C3#FFFFFF#000000##FFFFFF
##B837C31.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0568C7
Deuteranopia (green-blind)
#5277C0
Tritanopia (blue-blind)
#BC4F7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b837c3;
/* rgb */ color: rgb(184, 55, 195);
/* oklch */ color: oklch(58.2% 0.226 324.5);
Tailwind
colors: {
  custom: {
    50: '#d17ad6',
    500: '#b837c3',
    950: '#000000',
  },
}
SCSS
$custom: #b837c3;
$custom-light: #d17ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#b837c3",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 295.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.22592,
    "h": 324.5
  },
  "luminance": 0.16863
}

Semantic roles & 50–950 ramp

primary
#B837C3
secondary
#8FCC8A
accent
#DF4954
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B837C3

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

Preview Lab → · Contrast checker → · Palette generator →

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