#B841DC#B841DC

#B841DC is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.7% C 0.236 H 317.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B841DC
RGBrgb(184, 65, 220)
HSLhsl(286, 69%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(16.4%, 70.5%, 0%, 13.7%)
CIE-LABlab(50.85, 68.77, -57.00)
CIE-LCHlch(50.85, 89.32, 320.35°)
OKLaboklab(60.66% 0.1729 -0.1602)
OKLCHoklch(60.66% 0.236 317.2)
XYZxyz(34.5738, 19.1397, 69.5694)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841DC #65DC41
analogous
#6B41DC #B841DC #DC41B2
triadic
#B841DC #DCB841 #41DCB8
tetradic
#B841DC #DC6B41 #65DC41 #41B2DC
square
#B841DC #DC6B41 #65DC41 #41B2DC
split-complementary
#B841DC #B2DC41 #41DC6B
monochromatic
#6F1989 #9923BD #B841DC #CB75E6 #DFA8EF

Accessibility & contrast

On white

4.35
#B841DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B841DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841DC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841DC#FFFFFF#000000##000000
##B841DC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#447DD8
Tritanopia (blue-blind)
#B6608B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b841dc;
/* rgb */ color: rgb(184, 65, 220);
/* oklch */ color: oklch(60.7% 0.236 317.2);
Tailwind
colors: {
  custom: {
    50: '#d180e8',
    500: '#b841dc',
    950: '#000000',
  },
}
SCSS
$custom: #b841dc;
$custom-light: #d180e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b841dc",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 286.065,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.23569,
    "h": 317.2
  },
  "luminance": 0.19138
}

Semantic roles & 50–950 ramp

primary
#B841DC
secondary
#ABDD9C
accent
#EC3C65
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B841DC

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

Preview Lab → · Contrast checker → · Palette generator →

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