#B839B7#B839B7

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

Color values

HEX#B839B7
RGBrgb(184, 57, 183)
HSLhsl(300, 53%, 47%)
HSVhsv(300, 69%, 72%)
CMYKcmyk(0%, 69%, 0.5%, 27.8%)
CIE-LABlab(47.67, 65.14, -40.74)
CIE-LCHlch(47.67, 76.83, 327.98°)
OKLaboklab(57.69% 0.1821 -0.1127)
OKLCHoklch(57.69% 0.214 328.2)
XYZxyz(29.7772, 16.5376, 46.4143)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839B7 #39B83A
analogous
#7939B8 #B839B7 #B83978
triadic
#B839B7 #B7B839 #39B7B8
tetradic
#B839B7 #B87939 #39B83A #3978B8
square
#B839B7 #B87939 #39B83A #3978B8
split-complementary
#B839B7 #78B839 #39B879
monochromatic
#5B1C5A #892B89 #B839B7 #CE60CD #DC8FDC

Accessibility & contrast

On white

4.88
#B839B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B839B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839B7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839B7#FFFFFF#000000##FFFFFF
##B839B71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2666BB
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#BE4B74
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b839b7;
/* rgb */ color: rgb(184, 57, 183);
/* oklch */ color: oklch(57.7% 0.214 328.2);
Tailwind
colors: {
  custom: {
    50: '#d17bcd',
    500: '#b839b7',
    950: '#000000',
  },
}
SCSS
$custom: #b839b7;
$custom-light: #d17bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#b839b7",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 300.472,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.21414,
    "h": 328.2
  },
  "luminance": 0.16535
}

Semantic roles & 50–950 ramp

primary
#B839B7
secondary
#86C786
accent
#DC4D4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B839B7

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

Preview Lab → · Contrast checker → · Palette generator →

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