#B841CB#B841CB

#B841CB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.221 H 321.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#B841CB
RGBrgb(184, 65, 203)
HSLhsl(292, 57%, 53%)
HSVhsv(292, 68%, 80%)
CMYKcmyk(9.4%, 68%, 0%, 20.4%)
CIE-LABlab(49.84, 65.62, -48.90)
CIE-LCHlch(49.84, 81.83, 323.31°)
OKLaboklab(59.61% 0.1738 -0.1365)
OKLCHoklch(59.61% 0.221 321.9)
XYZxyz(32.4358, 18.2845, 58.3091)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B841CB #54CB41
analogous
#7341CB #B841CB #CB4199
triadic
#B841CB #CBB841 #41CBB8
tetradic
#B841CB #CB7341 #54CB41 #4199CB
square
#B841CB #CB7341 #54CB41 #4199CB
split-complementary
#B841CB #99CB41 #41CB73
monochromatic
#671F72 #922CA2 #B841CB #CA71D8 #DCA1E5

Accessibility & contrast

On white

4.51
#B841CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#B841CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B841CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B841CB#FFFFFF#000000##000000
##B841CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#136ECF
Deuteranopia (green-blind)
#527BC8
Tritanopia (blue-blind)
#BA5981
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b841cb;
/* rgb */ color: rgb(184, 65, 203);
/* oklch */ color: oklch(59.6% 0.221 321.9);
Tailwind
colors: {
  custom: {
    50: '#d17fdb',
    500: '#b841cb',
    950: '#000000',
  },
}
SCSS
$custom: #b841cb;
$custom-light: #d17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#b841cb",
  "rgb": {
    "r": 184,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 291.739,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59608,
    "c": 0.22098,
    "h": 321.9
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#B841CB
secondary
#9ED296
accent
#E0485D
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #B841CB

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

Preview Lab → · Contrast checker → · Palette generator →

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