#B839D2#B839D2

#B839D2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.3% C 0.236 H 320.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#B839D2
RGBrgb(184, 57, 210)
HSLhsl(290, 63%, 52%)
HSVhsv(290, 73%, 82%)
CMYKcmyk(12.4%, 72.9%, 0%, 17.6%)
CIE-LABlab(49.22, 69.82, -53.91)
CIE-LCHlch(49.22, 88.21, 322.33°)
OKLaboklab(59.3% 0.1813 -0.1511)
OKLCHoklch(59.3% 0.236 320.2)
XYZxyz(32.8617, 17.7714, 62.6596)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839D2 #53D239
analogous
#6C39D2 #B839D2 #D2399F
triadic
#B839D2 #D2B839 #39D2B8
tetradic
#B839D2 #D26C39 #53D239 #399FD2
square
#B839D2 #D26C39 #53D239 #399FD2
split-complementary
#B839D2 #9FD239 #39D26C
monochromatic
#661B76 #9226A8 #B839D2 #CA6BDD #DC9DE9

Accessibility & contrast

On white

4.61
#B839D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B839D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B839D2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839D2#FFFFFF#000000##FFFFFF
##B839D21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4879CE
Tritanopia (blue-blind)
#B95783
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b839d2;
/* rgb */ color: rgb(184, 57, 210);
/* oklch */ color: oklch(59.3% 0.236 320.2);
Tailwind
colors: {
  custom: {
    50: '#d17ce0',
    500: '#b839d2',
    950: '#000000',
  },
}
SCSS
$custom: #b839d2;
$custom-light: #d17ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#b839d2",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 289.804,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59296,
    "c": 0.236,
    "h": 320.2
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#B839D2
secondary
#9DD592
accent
#E6425E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150A15
muted
#837C83

Preview Lab

Preview with #B839D2

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

Preview Lab → · Contrast checker → · Palette generator →

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