#B84FC2#B84FC2

#B84FC2 is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.194 H 324.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B84FC2
RGBrgb(184, 79, 194)
HSLhsl(295, 49%, 54%)
HSVhsv(295, 59%, 76%)
CMYKcmyk(5.2%, 59.3%, 0%, 23.9%)
CIE-LABlab(51.47, 58.09, -41.12)
CIE-LCHlch(51.47, 71.17, 324.71°)
OKLaboklab(60.63% 0.1575 -0.1139)
OKLCHoklch(60.63% 0.194 324.1)
XYZxyz(32.2999, 19.6791, 53.1256)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84FC2 #59C24F
analogous
#7E4FC2 #B84FC2 #C24F92
triadic
#B84FC2 #C2B84F #4FC2B8
tetradic
#B84FC2 #C27E4F #59C24F #4F92C2
square
#B84FC2 #C27E4F #59C24F #4F92C2
split-complementary
#B84FC2 #92C24F #4FC27E
monochromatic
#692770 #94379D #B84FC2 #CA7CD2 #DDAAE2

Accessibility & contrast

On white

4.25
#B84FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B84FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84FC2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84FC2#FFFFFF#000000##000000
##B84FC21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#617FBF
Tritanopia (blue-blind)
#BB5F81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b84fc2;
/* rgb */ color: rgb(184, 79, 194);
/* oklch */ color: oklch(60.6% 0.194 324.1);
Tailwind
colors: {
  custom: {
    50: '#d086d5',
    500: '#b84fc2',
    950: '#000000',
  },
}
SCSS
$custom: #b84fc2;
$custom-light: #d086d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b84fc2",
  "rgb": {
    "r": 184,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 294.783,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.19441,
    "h": 324.1
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

primary
#B84FC2
secondary
#A2CF9E
accent
#D8505C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B84FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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