#B84EC1#B84EC1

#B84EC1 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.5% C 0.195 H 324.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B84EC1
RGBrgb(184, 78, 193)
HSLhsl(295, 48%, 53%)
HSVhsv(295, 60%, 76%)
CMYKcmyk(4.7%, 59.6%, 0%, 24.3%)
CIE-LABlab(51.26, 58.36, -40.88)
CIE-LCHlch(51.26, 71.25, 324.99°)
OKLaboklab(60.46% 0.1587 -0.1133)
OKLCHoklch(60.46% 0.195 324.5)
XYZxyz(32.1164, 19.4912, 52.5123)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B84EC1 #57C14E
analogous
#7E4EC1 #B84EC1 #C14E91
triadic
#B84EC1 #C1B84E #4EC1B8
tetradic
#B84EC1 #C17E4E #57C14E #4E91C1
square
#B84EC1 #C17E4E #57C14E #4E91C1
split-complementary
#B84EC1 #91C14E #4EC17E
monochromatic
#68276E #93369B #B84EC1 #CA7BD1 #DCA9E1

Accessibility & contrast

On white

4.29
#B84EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B84EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B84EC1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B84EC1#FFFFFF#000000##000000
##B84EC11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#617FBE
Tritanopia (blue-blind)
#BC5E80
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b84ec1;
/* rgb */ color: rgb(184, 78, 193);
/* oklch */ color: oklch(60.5% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#d086d4',
    500: '#b84ec1',
    950: '#000000',
  },
}
SCSS
$custom: #b84ec1;
$custom-light: #d086d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b84ec1",
  "rgb": {
    "r": 184,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 295.304,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60457,
    "c": 0.19496,
    "h": 324.5
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#B84EC1
secondary
#A0CE9D
accent
#D8505B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B84EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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