#B837CA#B837CA

#B837CA is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.232 H 322.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B837CA
RGBrgb(184, 55, 202)
HSLhsl(293, 58%, 50%)
HSVhsv(293, 73%, 79%)
CMYKcmyk(8.9%, 72.8%, 0%, 20.8%)
CIE-LABlab(48.50, 69.08, -50.47)
CIE-LCHlch(48.50, 85.55, 323.85°)
OKLaboklab(58.63% 0.1837 -0.141)
OKLCHoklch(58.63% 0.232 322.5)
XYZxyz(31.7929, 17.1888, 57.5088)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837CA #49CA37
analogous
#6E37CA #B837CA #CA3792
triadic
#B837CA #CAB837 #37CAB8
tetradic
#B837CA #CA6E37 #49CA37 #3792CA
square
#B837CA #CA6E37 #49CA37 #3792CA
split-complementary
#B837CA #92CA37 #37CA6E
monochromatic
#611C6A #8D299B #B837CA #C967D7 #DA98E4

Accessibility & contrast

On white

4.73
#B837CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#B837CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837CA#FFFFFF#000000##FFFFFF
##B837CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#BA527E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b837ca;
/* rgb */ color: rgb(184, 55, 202);
/* oklch */ color: oklch(58.6% 0.232 322.5);
Tailwind
colors: {
  custom: {
    50: '#d17adb',
    500: '#b837ca',
    950: '#000000',
  },
}
SCSS
$custom: #b837ca;
$custom-light: #d17adb;
$custom-dark: #000000;
JSON
{
  "hex": "#b837ca",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 292.653,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.23156,
    "h": 322.5
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#B837CA
secondary
#96CF8E
accent
#E14659
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B837CA

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

Preview Lab → · Contrast checker → · Palette generator →

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