#B877EC#B877EC

#B877EC is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.5% C 0.176 H 308.1°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#B877EC
RGBrgb(184, 119, 236)
HSLhsl(273, 75%, 70%)
HSVhsv(273, 50%, 93%)
CMYKcmyk(22%, 49.6%, 0%, 7.5%)
CIE-LABlab(61.17, 46.70, -49.53)
CIE-LCHlch(61.17, 68.08, 313.32°)
OKLaboklab(68.46% 0.1086 -0.1386)
OKLCHoklch(68.46% 0.176 308.1)
XYZxyz(41.5013, 29.4406, 82.8369)
Luminance0.2944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877EC #ABEC77
analogous
#7D77EC #B877EC #EC77E6
triadic
#B877EC #ECB877 #77ECB8
tetradic
#B877EC #EC7D77 #ABEC77 #77E6EC
square
#B877EC #EC7D77 #ABEC77 #77E6EC
split-complementary
#B877EC #E6EC77 #77EC7D
monochromatic
#7E1DCC #9C41E4 #B877EC #D4ADF4 #F0E2FB

Accessibility & contrast

On white

3.05
#B877EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#B877EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877EC
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877EC#FFFFFF#000000##000000
##B877EC1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6A94E9
Tritanopia (blue-blind)
#B18BA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b877ec;
/* rgb */ color: rgb(184, 119, 236);
/* oklch */ color: oklch(68.5% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#d0a0f2',
    500: '#b877ec',
    950: '#000000',
  },
}
SCSS
$custom: #b877ec;
$custom-light: #d0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ec",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 273.333,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.1761,
    "h": 308.1
  },
  "luminance": 0.2944
}

Semantic roles & 50–950 ramp

primary
#B877EC
secondary
#DEF0CF
accent
#D80E68
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B877EC

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

Preview Lab → · Contrast checker → · Palette generator →

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