#B839D3#B839D3

#B839D3 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.4% C 0.237 H 319.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B839D3
RGBrgb(184, 57, 211)
HSLhsl(289, 64%, 53%)
HSVhsv(289, 73%, 83%)
CMYKcmyk(12.8%, 73%, 0%, 17.3%)
CIE-LABlab(49.28, 70.00, -54.39)
CIE-LCHlch(49.28, 88.65, 322.15°)
OKLaboklab(59.36% 0.1812 -0.1525)
OKLCHoklch(59.36% 0.237 319.9)
XYZxyz(32.9867, 17.8214, 63.3177)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839D3 #54D339
analogous
#6B39D3 #B839D3 #D339A1
triadic
#B839D3 #D3B839 #39D3B8
tetradic
#B839D3 #D36B39 #54D339 #39A1D3
square
#B839D3 #D36B39 #54D339 #39A1D3
split-complementary
#B839D3 #A1D339 #39D36B
monochromatic
#671A77 #9226A9 #B839D3 #CA6BDE #DC9DE9

Accessibility & contrast

On white

4.60
#B839D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B839D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B839D3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839D3#FFFFFF#000000##FFFFFF
##B839D31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#4779CF
Tritanopia (blue-blind)
#B85883
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b839d3;
/* rgb */ color: rgb(184, 57, 211);
/* oklch */ color: oklch(59.4% 0.237 319.9);
Tailwind
colors: {
  custom: {
    50: '#d17ce1',
    500: '#b839d3',
    950: '#000000',
  },
}
SCSS
$custom: #b839d3;
$custom-light: #d17ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#b839d3",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 289.481,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.23683,
    "h": 319.9
  },
  "luminance": 0.1782
}

Semantic roles & 50–950 ramp

primary
#B839D3
secondary
#9ED592
accent
#E7415E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B839D3

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

Preview Lab → · Contrast checker → · Palette generator →

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