#B837AB#B837AB

#B837AB is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.207 H 332.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B837AB
RGBrgb(184, 55, 171)
HSLhsl(306, 54%, 47%)
HSVhsv(306, 70%, 72%)
CMYKcmyk(0%, 70.1%, 7.1%, 27.8%)
CIE-LABlab(46.80, 63.92, -35.07)
CIE-LCHlch(46.80, 72.91, 331.25°)
OKLaboklab(56.86% 0.1836 -0.0963)
OKLCHoklch(56.86% 0.207 332.3)
XYZxyz(28.4841, 15.8653, 40.0823)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837AB #37B844
analogous
#8537B8 #B837AB #B8376A
triadic
#B837AB #ABB837 #37ABB8
tetradic
#B837AB #B88537 #37B844 #376AB8
square
#B837AB #B88537 #37B844 #376AB8
split-complementary
#B837AB #6AB837 #37B885
monochromatic
#5A1B53 #89297F #B837AB #CF5DC3 #DD8DD5

Accessibility & contrast

On white

5.03
#B837AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#B837AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837AB#FFFFFF#000000##FFFFFF
##B837AB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#6075A8
Tritanopia (blue-blind)
#C0446D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b837ab;
/* rgb */ color: rgb(184, 55, 171);
/* oklch */ color: oklch(56.9% 0.207 332.3);
Tailwind
colors: {
  custom: {
    50: '#d179c4',
    500: '#b837ab',
    950: '#000000',
  },
}
SCSS
$custom: #b837ab;
$custom-light: #d179c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b837ab",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 306.047,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.2073,
    "h": 332.3
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#B837AB
secondary
#84C78A
accent
#DD594A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B837AB

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

Preview Lab → · Contrast checker → · Palette generator →

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