#B837A4#B837A4

#B837A4 is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.5% C 0.202 H 334.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B837A4
RGBrgb(184, 55, 164)
HSLhsl(309, 54%, 47%)
HSVhsv(309, 70%, 72%)
CMYKcmyk(0%, 70.1%, 10.9%, 27.8%)
CIE-LABlab(46.45, 62.84, -31.46)
CIE-LCHlch(46.45, 70.28, 333.41°)
OKLaboklab(56.5% 0.183 -0.0859)
OKLCHoklch(56.5% 0.202 334.9)
XYZxyz(27.8345, 15.6054, 36.6609)
Luminance0.1560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837A4 #37B84B
analogous
#8C37B8 #B837A4 #B83764
triadic
#B837A4 #A4B837 #37A4B8
tetradic
#B837A4 #B88C37 #37B84B #3764B8
square
#B837A4 #B88C37 #37B84B #3764B8
split-complementary
#B837A4 #64B837 #37B88C
monochromatic
#5A1B50 #89297A #B837A4 #CF5DBD #DD8DD0

Accessibility & contrast

On white

5.10
#B837A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#B837A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837A4
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837A4#FFFFFF#000000##FFFFFF
##B837A41.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A7
Deuteranopia (green-blind)
#6375A1
Tritanopia (blue-blind)
#C14169
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b837a4;
/* rgb */ color: rgb(184, 55, 164);
/* oklch */ color: oklch(56.5% 0.202 334.9);
Tailwind
colors: {
  custom: {
    50: '#d179bf',
    500: '#b837a4',
    950: '#000000',
  },
}
SCSS
$custom: #b837a4;
$custom-light: #d179bf;
$custom-dark: #000000;
JSON
{
  "hex": "#b837a4",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 309.302,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.20216,
    "h": 334.9
  },
  "luminance": 0.15603
}

Semantic roles & 50–950 ramp

primary
#B837A4
secondary
#84C78E
accent
#DD614A
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B837A4

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

Preview Lab → · Contrast checker → · Palette generator →

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