#B839B2#B839B2

#B839B2 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.210 H 329.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B839B2
RGBrgb(184, 57, 178)
HSLhsl(303, 53%, 47%)
HSVhsv(303, 69%, 72%)
CMYKcmyk(0%, 69%, 3.3%, 27.8%)
CIE-LABlab(47.41, 64.32, -38.23)
CIE-LCHlch(47.41, 74.82, 329.28°)
OKLaboklab(57.42% 0.1819 -0.1054)
OKLCHoklch(57.42% 0.21 329.9)
XYZxyz(29.2660, 16.3331, 43.7220)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839B2 #39B83F
analogous
#7F39B8 #B839B2 #B83972
triadic
#B839B2 #B2B839 #39B2B8
tetradic
#B839B2 #B87F39 #39B83F #3972B8
square
#B839B2 #B87F39 #39B83F #3972B8
split-complementary
#B839B2 #72B839 #39B87F
monochromatic
#5B1C58 #892B85 #B839B2 #CE60C9 #DC8FD9

Accessibility & contrast

On white

4.92
#B839B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#B839B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839B2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839B2#FFFFFF#000000##FFFFFF
##B839B21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#BF4971
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b839b2;
/* rgb */ color: rgb(184, 57, 178);
/* oklch */ color: oklch(57.4% 0.210 329.9);
Tailwind
colors: {
  custom: {
    50: '#d17bc9',
    500: '#b839b2',
    950: '#000000',
  },
}
SCSS
$custom: #b839b2;
$custom-light: #d17bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b839b2",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 302.835,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57419,
    "c": 0.21025,
    "h": 329.9
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#B839B2
secondary
#86C789
accent
#DC534C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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