#B839A7#B839A7

#B839A7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.202 H 333.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B839A7
RGBrgb(184, 57, 167)
HSLhsl(308, 53%, 47%)
HSVhsv(308, 69%, 72%)
CMYKcmyk(0%, 69%, 9.2%, 27.8%)
CIE-LABlab(46.85, 62.58, -32.61)
CIE-LCHlch(46.85, 70.57, 332.48°)
OKLaboklab(56.84% 0.1812 -0.0892)
OKLCHoklch(56.84% 0.202 333.8)
XYZxyz(28.2055, 15.9090, 38.1369)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839A7 #39B84A
analogous
#8939B8 #B839A7 #B83968
triadic
#B839A7 #A7B839 #39A7B8
tetradic
#B839A7 #B88939 #39B84A #3968B8
square
#B839A7 #B88939 #39B84A #3968B8
split-complementary
#B839A7 #68B839 #39B889
monochromatic
#5B1C52 #892B7D #B839A7 #CE60BF #DC8FD2

Accessibility & contrast

On white

5.02
#B839A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#B839A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839A7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839A7#FFFFFF#000000##FFFFFF
##B839A71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#6276A4
Tritanopia (blue-blind)
#C0446B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b839a7;
/* rgb */ color: rgb(184, 57, 167);
/* oklch */ color: oklch(56.8% 0.202 333.8);
Tailwind
colors: {
  custom: {
    50: '#d17ac1',
    500: '#b839a7',
    950: '#000000',
  },
}
SCSS
$custom: #b839a7;
$custom-light: #d17ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#b839a7",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 167
  },
  "hsl": {
    "h": 308.031,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56839,
    "c": 0.20194,
    "h": 333.8
  },
  "luminance": 0.15907
}

Semantic roles & 50–950 ramp

primary
#B839A7
secondary
#86C78E
accent
#DC5F4C
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140A12
muted
#837C81

Preview Lab

Preview with #B839A7

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

Preview Lab → · Contrast checker → · Palette generator →

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