#B84CB2#B84CB2

#B84CB2 is a mid, vivid purple. Relative luminance 0.186; OKLCH L 59.4% C 0.185 H 329.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B84CB2
RGBrgb(184, 76, 178)
HSLhsl(303, 43%, 51%)
HSVhsv(303, 59%, 72%)
CMYKcmyk(0%, 58.7%, 3.3%, 27.8%)
CIE-LABlab(50.19, 56.60, -33.86)
CIE-LCHlch(50.19, 65.95, 329.12°)
OKLaboklab(59.44% 0.1598 -0.093)
OKLCHoklch(59.44% 0.185 329.8)
XYZxyz(30.3872, 18.5756, 44.0958)
Luminance0.1857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84CB2 #4CB852
analogous
#884CB8 #B84CB2 #B84C7C
triadic
#B84CB2 #B2B84C #4CB2B8
tetradic
#B84CB2 #B8884C #4CB852 #4C7CB8
square
#B84CB2 #B8884C #4CB852 #4C7CB8
split-complementary
#B84CB2 #7CB84C #4CB888
monochromatic
#63275F #8E388A #B84CB2 #C978C5 #DBA4D8

Accessibility & contrast

On white

4.45
#B84CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#B84CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84CB2
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84CB2#FFFFFF#000000##000000
##B84CB21.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#677DAF
Tritanopia (blue-blind)
#BE5778
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b84cb2;
/* rgb */ color: rgb(184, 76, 178);
/* oklch */ color: oklch(59.4% 0.185 329.8);
Tailwind
colors: {
  custom: {
    50: '#d084c9',
    500: '#b84cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b84cb2;
$custom-light: #d084c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b84cb2",
  "rgb": {
    "r": 184,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 303.333,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.1849,
    "h": 329.8
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#B84CB2
secondary
#98C89B
accent
#D35C55
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B84CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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