#B837BA#B837BA

#B837BA is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.219 H 327.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B837BA
RGBrgb(184, 55, 186)
HSLhsl(299, 54%, 47%)
HSVhsv(299, 70%, 73%)
CMYKcmyk(1.1%, 70.4%, 0%, 27.1%)
CIE-LABlab(47.59, 66.34, -42.63)
CIE-LCHlch(47.59, 78.86, 327.28°)
OKLaboklab(57.68% 0.1841 -0.1182)
OKLCHoklch(57.68% 0.219 327.3)
XYZxyz(29.9958, 16.4700, 48.0440)
Luminance0.1647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837BA #39BA37
analogous
#7737BA #B837BA #BA377B
triadic
#B837BA #BAB837 #37BAB8
tetradic
#B837BA #BA7737 #39BA37 #377BBA
square
#B837BA #BA7737 #39BA37 #377BBA
split-complementary
#B837BA #7BBA37 #37BA77
monochromatic
#5B1B5C #89298B #B837BA #CE5FD0 #DC8EDE

Accessibility & contrast

On white

4.89
#B837BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#B837BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837BA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837BA#FFFFFF#000000##FFFFFF
##B837BA1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#5877B7
Tritanopia (blue-blind)
#BD4B75
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837ba;
/* rgb */ color: rgb(184, 55, 186);
/* oklch */ color: oklch(57.7% 0.219 327.3);
Tailwind
colors: {
  custom: {
    50: '#d17acf',
    500: '#b837ba',
    950: '#000000',
  },
}
SCSS
$custom: #b837ba;
$custom-light: #d17acf;
$custom-dark: #000000;
JSON
{
  "hex": "#b837ba",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 299.084,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57684,
    "c": 0.21879,
    "h": 327.3
  },
  "luminance": 0.16468
}

Semantic roles & 50–950 ramp

primary
#B837BA
secondary
#86C885
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B837BA

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

Preview Lab → · Contrast checker → · Palette generator →

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