#B839C1#B839C1

#B839C1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.3% C 0.222 H 325.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B839C1
RGBrgb(184, 57, 193)
HSLhsl(296, 54%, 49%)
HSVhsv(296, 70%, 76%)
CMYKcmyk(4.7%, 70.5%, 0%, 24.3%)
CIE-LABlab(48.22, 66.82, -45.70)
CIE-LCHlch(48.22, 80.95, 325.63°)
OKLaboklab(58.26% 0.1821 -0.1271)
OKLCHoklch(58.26% 0.222 325.1)
XYZxyz(30.8552, 16.9688, 52.0919)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B839C1 #42C139
analogous
#7439C1 #B839C1 #C13986
triadic
#B839C1 #C1B839 #39C1B8
tetradic
#B839C1 #C17439 #42C139 #3986C1
square
#B839C1 #C17439 #42C139 #3986C1
split-complementary
#B839C1 #86C139 #39C174
monochromatic
#5E1D63 #8B2B92 #B839C1 #CB66D2 #DB95E0

Accessibility & contrast

On white

4.78
#B839C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B839C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B839C1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B839C1#FFFFFF#000000##FFFFFF
##B839C11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1469C5
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#BC5079
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b839c1;
/* rgb */ color: rgb(184, 57, 193);
/* oklch */ color: oklch(58.3% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#d17bd4',
    500: '#b839c1',
    950: '#000000',
  },
}
SCSS
$custom: #b839c1;
$custom-light: #d17bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#b839c1",
  "rgb": {
    "r": 184,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 296.029,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.22209,
    "h": 325.1
  },
  "luminance": 0.16967
}

Semantic roles & 50–950 ramp

primary
#B839C1
secondary
#8FCB8B
accent
#DE4A54
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B839C1

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

Preview Lab → · Contrast checker → · Palette generator →

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