#B841DB#B841DB

#B841DB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.6% C 0.235 H 317.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B841DB
RGBrgb(184, 65, 219)
HSLhsl(286, 68%, 56%)
HSVhsv(286, 70%, 86%)
CMYKcmyk(16%, 70.3%, 0%, 14.1%)
CIE-LABlab(50.79, 68.58, -56.53)
CIE-LCHlch(50.79, 88.88, 320.50°)
OKLaboklab(60.59% 0.173 -0.1588)
OKLCHoklch(60.59% 0.235 317.4)
XYZxyz(34.4418, 19.0869, 68.8740)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841DB #64DB41
analogous
#6B41DB #B841DB #DB41B1
triadic
#B841DB #DBB841 #41DBB8
tetradic
#B841DB #DB6B41 #64DB41 #41B1DB
square
#B841DB #DB6B41 #64DB41 #41B1DB
split-complementary
#B841DB #B1DB41 #41DB6B
monochromatic
#6F1A88 #9923BB #B841DB #CB74E5 #DEA8EE

Accessibility & contrast

On white

4.36
#B841DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B841DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841DB#FFFFFF#000000##000000
##B841DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#457DD7
Tritanopia (blue-blind)
#B7608A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b841db;
/* rgb */ color: rgb(184, 65, 219);
/* oklch */ color: oklch(60.6% 0.235 317.4);
Tailwind
colors: {
  custom: {
    50: '#d180e7',
    500: '#b841db',
    950: '#000000',
  },
}
SCSS
$custom: #b841db;
$custom-light: #d180e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b841db",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 286.364,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60591,
    "c": 0.23481,
    "h": 317.4
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#B841DB
secondary
#AADC9C
accent
#EB3D64
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #B841DB

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

Preview Lab → · Contrast checker → · Palette generator →

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