#B842BE#B842BE

#B842BE is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.209 H 325.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#B842BE
RGBrgb(184, 66, 190)
HSLhsl(297, 49%, 50%)
HSVhsv(297, 65%, 75%)
CMYKcmyk(3.2%, 65.3%, 0%, 25.5%)
CIE-LABlab(49.26, 62.91, -42.30)
CIE-LCHlch(49.26, 75.81, 326.08°)
OKLaboklab(58.96% 0.1727 -0.1173)
OKLCHoklch(58.96% 0.209 325.8)
XYZxyz(31.0090, 17.8064, 50.5089)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B842BE #48BE42
analogous
#7A42BE #B842BE #BE4286
triadic
#B842BE #BEB842 #42BEB8
tetradic
#B842BE #BE7A42 #48BE42 #4286BE
square
#B842BE #BE7A42 #48BE42 #4286BE
split-complementary
#B842BE #86BE42 #42BE7A
monochromatic
#602263 #8C3291 #B842BE #C970CE #DA9DDD

Accessibility & contrast

On white

4.60
#B842BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#B842BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B842BE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B842BE#FFFFFF#000000##FFFFFF
##B842BE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6CC2
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#BC547B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b842be;
/* rgb */ color: rgb(184, 66, 190);
/* oklch */ color: oklch(59.0% 0.209 325.8);
Tailwind
colors: {
  custom: {
    50: '#d17fd2',
    500: '#b842be',
    950: '#000000',
  },
}
SCSS
$custom: #b842be;
$custom-light: #d17fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#b842be",
  "rgb": {
    "r": 184,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 297.097,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.20875,
    "h": 325.8
  },
  "luminance": 0.17804
}

Semantic roles & 50–950 ramp

primary
#B842BE
secondary
#95CA92
accent
#D84F56
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #B842BE

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

Preview Lab → · Contrast checker → · Palette generator →

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