#B839BA#B839BA

#B839BA is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.217 H 327.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B839BA
RGBrgb(184, 57, 186)
HSLhsl(299, 53%, 48%)
HSVhsv(299, 69%, 73%)
CMYKcmyk(1.1%, 69.4%, 0%, 27.1%)
CIE-LABlab(47.83, 65.64, -42.24)
CIE-LCHlch(47.83, 78.05, 327.24°)
OKLaboklab(57.86% 0.1822 -0.117)
OKLCHoklch(57.86% 0.217 327.3)
XYZxyz(30.0928, 16.6638, 48.0763)
Luminance0.1666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839BA #3BBA39
analogous
#7839BA #B839BA #BA397B
triadic
#B839BA #BAB839 #39BAB8
tetradic
#B839BA #BA7839 #3BBA39 #397BBA
square
#B839BA #BA7839 #3BBA39 #397BBA
split-complementary
#B839BA #7BBA39 #39BA78
monochromatic
#5B1C5C #8A2B8B #B839BA #CD61CF #DC90DD

Accessibility & contrast

On white

4.85
#B839BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#B839BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839BA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839BA#FFFFFF#000000##FFFFFF
##B839BA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#5977B7
Tritanopia (blue-blind)
#BD4C76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b839ba;
/* rgb */ color: rgb(184, 57, 186);
/* oklch */ color: oklch(57.9% 0.217 327.3);
Tailwind
colors: {
  custom: {
    50: '#d17bcf',
    500: '#b839ba',
    950: '#000000',
  },
}
SCSS
$custom: #b839ba;
$custom-light: #d17bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b839ba",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 299.07,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57862,
    "c": 0.21651,
    "h": 327.3
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#B839BA
secondary
#88C887
accent
#DC4B4E
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B839BA

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

Preview Lab → · Contrast checker → · Palette generator →

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