#B837AC#B837AC

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

Color values

HEX#B837AC
RGBrgb(184, 55, 172)
HSLhsl(306, 54%, 47%)
HSVhsv(306, 70%, 72%)
CMYKcmyk(0%, 70.1%, 6.5%, 27.8%)
CIE-LABlab(46.85, 64.08, -35.58)
CIE-LCHlch(46.85, 73.29, 330.96°)
OKLaboklab(56.92% 0.1837 -0.0977)
OKLCHoklch(56.92% 0.208 332)
XYZxyz(28.5798, 15.9036, 40.5862)
Luminance0.1590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837AC #37B843
analogous
#8337B8 #B837AC #B8376C
triadic
#B837AC #ACB837 #37ACB8
tetradic
#B837AC #B88337 #37B843 #376CB8
square
#B837AC #B88337 #37B843 #376CB8
split-complementary
#B837AC #6CB837 #37B883
monochromatic
#5A1B54 #892980 #B837AC #CF5DC4 #DD8DD5

Accessibility & contrast

On white

5.02
#B837AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B837AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B837AC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837AC#FFFFFF#000000##FFFFFF
##B837AC1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#5F75A9
Tritanopia (blue-blind)
#C0456D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b837ac;
/* rgb */ color: rgb(184, 55, 172);
/* oklch */ color: oklch(56.9% 0.208 332.0);
Tailwind
colors: {
  custom: {
    50: '#d179c5',
    500: '#b837ac',
    950: '#000000',
  },
}
SCSS
$custom: #b837ac;
$custom-light: #d179c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b837ac",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 305.581,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.20804,
    "h": 332
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B837AC

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

Preview Lab → · Contrast checker → · Palette generator →

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