#B839AB#B839AB

#B839AB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.205 H 332.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B839AB
RGBrgb(184, 57, 171)
HSLhsl(306, 53%, 47%)
HSVhsv(306, 69%, 72%)
CMYKcmyk(0%, 69%, 7.1%, 27.8%)
CIE-LABlab(47.05, 63.20, -34.67)
CIE-LCHlch(47.05, 72.08, 331.26°)
OKLaboklab(57.05% 0.1815 -0.0951)
OKLCHoklch(57.05% 0.205 332.3)
XYZxyz(28.5810, 16.0592, 40.1146)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839AB #39B846
analogous
#8639B8 #B839AB #B8396B
triadic
#B839AB #ABB839 #39ABB8
tetradic
#B839AB #B88639 #39B846 #396BB8
square
#B839AB #B88639 #39B846 #396BB8
split-complementary
#B839AB #6BB839 #39B886
monochromatic
#5B1C54 #892B80 #B839AB #CE60C3 #DC8FD4

Accessibility & contrast

On white

4.99
#B839AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#B839AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839AB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839AB#FFFFFF#000000##FFFFFF
##B839AB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#C0466D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b839ab;
/* rgb */ color: rgb(184, 57, 171);
/* oklch */ color: oklch(57.0% 0.205 332.3);
Tailwind
colors: {
  custom: {
    50: '#d17ac4',
    500: '#b839ab',
    950: '#000000',
  },
}
SCSS
$custom: #b839ab;
$custom-light: #d17ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#b839ab",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 171
  },
  "hsl": {
    "h": 306.142,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57046,
    "c": 0.20492,
    "h": 332.3
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#B839AB
secondary
#86C78C
accent
#DC5A4C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B839AB

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

Preview Lab → · Contrast checker → · Palette generator →

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