#B84FB2#B84FB2

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

Color values

HEX#B84FB2
RGBrgb(184, 79, 178)
HSLhsl(303, 43%, 52%)
HSVhsv(303, 57%, 72%)
CMYKcmyk(0%, 57.1%, 3.3%, 27.8%)
CIE-LABlab(50.69, 55.24, -33.07)
CIE-LCHlch(50.69, 64.39, 329.09°)
OKLaboklab(59.8% 0.156 -0.0907)
OKLCHoklch(59.8% 0.18 329.8)
XYZxyz(30.5988, 18.9987, 44.1663)
Luminance0.1900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84FB2 #4FB855
analogous
#8A4FB8 #B84FB2 #B84F7E
triadic
#B84FB2 #B2B84F #4FB2B8
tetradic
#B84FB2 #B88A4F #4FB855 #4F7EB8
square
#B84FB2 #B88A4F #4FB855 #4F7EB8
split-complementary
#B84FB2 #7EB84F #4FB88A
monochromatic
#642861 #903A8B #B84FB2 #CA7BC5 #DBA6D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B84FB2#FFFFFF#000000##000000
##B84FB21.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)
#4870B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#BE5979
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b84fb2;
/* rgb */ color: rgb(184, 79, 178);
/* oklch */ color: oklch(59.8% 0.180 329.8);
Tailwind
colors: {
  custom: {
    50: '#d086c9',
    500: '#b84fb2',
    950: '#000000',
  },
}
SCSS
$custom: #b84fb2;
$custom-light: #d086c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b84fb2",
  "rgb": {
    "r": 184,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 303.429,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.598,
    "c": 0.18043,
    "h": 329.8
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#B84FB2
secondary
#9AC89D
accent
#D25D56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B84FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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