#B84EB5#B84EB5

#B84EB5 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.184 H 328.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#B84EB5
RGBrgb(184, 78, 181)
HSLhsl(302, 43%, 51%)
HSVhsv(302, 58%, 72%)
CMYKcmyk(0%, 57.6%, 1.6%, 27.8%)
CIE-LABlab(50.66, 56.22, -34.86)
CIE-LCHlch(50.66, 66.15, 328.20°)
OKLaboklab(59.83% 0.1576 -0.0959)
OKLCHoklch(59.83% 0.184 328.7)
XYZxyz(30.8317, 18.9773, 45.7461)
Luminance0.1898 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84EB5 #4EB851
analogous
#864EB8 #B84EB5 #B84E80
triadic
#B84EB5 #B5B84E #4EB5B8
tetradic
#B84EB5 #B8864E #4EB851 #4E80B8
square
#B84EB5 #B8864E #4EB851 #4E80B8
split-complementary
#B84EB5 #80B84E #4EB886
monochromatic
#642862 #8F398D #B84EB5 #CA7AC7 #DBA5DA

Accessibility & contrast

On white

4.38
#B84EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#B84EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84EB5
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84EB5#FFFFFF#000000##000000
##B84EB51.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470B8
Deuteranopia (green-blind)
#677EB2
Tritanopia (blue-blind)
#BE5A7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b84eb5;
/* rgb */ color: rgb(184, 78, 181);
/* oklch */ color: oklch(59.8% 0.184 328.7);
Tailwind
colors: {
  custom: {
    50: '#d085cb',
    500: '#b84eb5',
    950: '#000000',
  },
}
SCSS
$custom: #b84eb5;
$custom-light: #d085cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b84eb5",
  "rgb": {
    "r": 184,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 301.698,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59828,
    "c": 0.18448,
    "h": 328.7
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#B84EB5
secondary
#9AC89B
accent
#D35955
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #B84EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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