#B837B9#B837B9

#B837B9 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.218 H 327.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B837B9
RGBrgb(184, 55, 185)
HSLhsl(300, 54%, 47%)
HSVhsv(300, 70%, 73%)
CMYKcmyk(0.5%, 70.3%, 0%, 27.5%)
CIE-LABlab(47.53, 66.18, -42.13)
CIE-LCHlch(47.53, 78.45, 327.52°)
OKLaboklab(57.63% 0.1841 -0.1167)
OKLCHoklch(57.63% 0.218 327.6)
XYZxyz(29.8899, 16.4276, 47.4861)
Luminance0.1643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B837B9 #38B937
analogous
#7737B9 #B837B9 #B93779
triadic
#B837B9 #B9B837 #37B9B8
tetradic
#B837B9 #B97737 #38B937 #3779B9
square
#B837B9 #B97737 #38B937 #3779B9
split-complementary
#B837B9 #79B937 #37B977
monochromatic
#5A1B5B #89298A #B837B9 #CE5ECF #DD8DDD

Accessibility & contrast

On white

4.90
#B837B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B837B9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B837B9#FFFFFF#000000##FFFFFF
##B837B91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F66BD
Deuteranopia (green-blind)
#5877B6
Tritanopia (blue-blind)
#BE4B74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b837b9;
/* rgb */ color: rgb(184, 55, 185);
/* oklch */ color: oklch(57.6% 0.218 327.6);
Tailwind
colors: {
  custom: {
    50: '#d17ace',
    500: '#b837b9',
    950: '#000000',
  },
}
SCSS
$custom: #b837b9;
$custom-light: #d17ace;
$custom-dark: #000000;
JSON
{
  "hex": "#b837b9",
  "rgb": {
    "r": 184,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 299.538,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.218,
    "h": 327.6
  },
  "luminance": 0.16426
}

Semantic roles & 50–950 ramp

primary
#B837B9
secondary
#85C884
accent
#DE4A4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B837B9

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

Preview Lab → · Contrast checker → · Palette generator →

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