#B841DF#B841DF

#B841DF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.8% C 0.238 H 316.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B841DF
RGBrgb(184, 65, 223)
HSLhsl(285, 71%, 56%)
HSVhsv(285, 71%, 87%)
CMYKcmyk(17.5%, 70.9%, 0%, 12.5%)
CIE-LABlab(51.04, 69.35, -58.40)
CIE-LCHlch(51.04, 90.66, 319.90°)
OKLaboklab(60.85% 0.1726 -0.1643)
OKLCHoklch(60.85% 0.238 316.4)
XYZxyz(34.9747, 19.3001, 71.6807)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841DF #68DF41
analogous
#6941DF #B841DF #DF41B7
triadic
#B841DF #DFB841 #41DFB8
tetradic
#B841DF #DF6941 #68DF41 #41B7DF
square
#B841DF #DF6941 #68DF41 #41B7DF
split-complementary
#B841DF #B7DF41 #41DF69
monochromatic
#71188E #9A21C2 #B841DF #CC75E8 #DFAAF1

Accessibility & contrast

On white

4.32
#B841DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B841DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841DF#FFFFFF#000000##000000
##B841DF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#417DDB
Tritanopia (blue-blind)
#B6618C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b841df;
/* rgb */ color: rgb(184, 65, 223);
/* oklch */ color: oklch(60.8% 0.238 316.4);
Tailwind
colors: {
  custom: {
    50: '#d280ea',
    500: '#b841df',
    950: '#000000',
  },
}
SCSS
$custom: #b841df;
$custom-light: #d280ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b841df",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 223
  },
  "hsl": {
    "h": 285.19,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.2383,
    "h": 316.4
  },
  "luminance": 0.19299
}

Semantic roles & 50–950 ramp

primary
#B841DF
secondary
#ADDE9D
accent
#EE3A66
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B841DF

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

Preview Lab → · Contrast checker → · Palette generator →

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