#B841D3#B841D3

#B841D3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.1% C 0.228 H 319.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#B841D3
RGBrgb(184, 65, 211)
HSLhsl(289, 62%, 54%)
HSVhsv(289, 69%, 83%)
CMYKcmyk(12.8%, 69.2%, 0%, 17.3%)
CIE-LABlab(50.31, 67.08, -52.74)
CIE-LCHlch(50.31, 85.33, 321.83°)
OKLaboklab(60.09% 0.1735 -0.1477)
OKLCHoklch(60.09% 0.228 319.6)
XYZxyz(33.4138, 18.6757, 63.4601)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841D3 #5CD341
analogous
#6F41D3 #B841D3 #D341A5
triadic
#B841D3 #D3B841 #41D3B8
tetradic
#B841D3 #D36F41 #5CD341 #41A5D3
square
#B841D3 #D36F41 #5CD341 #41A5D3
split-complementary
#B841D3 #A5D341 #41D36F
monochromatic
#6B1D7D #9628AE #B841D3 #CB73DF #DDA4EA

Accessibility & contrast

On white

4.44
#B841D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#B841D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841D3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841D3#FFFFFF#000000##000000
##B841D31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D7
Deuteranopia (green-blind)
#4C7CD0
Tritanopia (blue-blind)
#B85C86
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b841d3;
/* rgb */ color: rgb(184, 65, 211);
/* oklch */ color: oklch(60.1% 0.228 319.6);
Tailwind
colors: {
  custom: {
    50: '#d17fe1',
    500: '#b841d3',
    950: '#000000',
  },
}
SCSS
$custom: #b841d3;
$custom-light: #d17fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#b841d3",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 211
  },
  "hsl": {
    "h": 288.904,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60092,
    "c": 0.22786,
    "h": 319.6
  },
  "luminance": 0.18674
}

Semantic roles & 50–950 ramp

primary
#B841D3
secondary
#A4D799
accent
#E54261
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B841D3

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

Preview Lab → · Contrast checker → · Palette generator →

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