#B877EA#B877EA

#B877EA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.4% C 0.174 H 308.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#B877EA
RGBrgb(184, 119, 234)
HSLhsl(274, 73%, 69%)
HSVhsv(274, 49%, 92%)
CMYKcmyk(21.4%, 49.1%, 0%, 8.2%)
CIE-LABlab(61.07, 46.26, -48.58)
CIE-LCHlch(61.07, 67.08, 313.60°)
OKLaboklab(68.35% 0.1084 -0.1359)
OKLCHoklch(68.35% 0.174 308.6)
XYZxyz(41.2124, 29.3251, 81.3152)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877EA #A9EA77
analogous
#7F77EA #B877EA #EA77E3
triadic
#B877EA #EAB877 #77EAB8
tetradic
#B877EA #EA7F77 #A9EA77 #77E3EA
square
#B877EA #EA7F77 #A9EA77 #77E3EA
split-complementary
#B877EA #E3EA77 #77EA7F
monochromatic
#7E1FC8 #9C42E2 #B877EA #D4ACF2 #EFE1FA

Accessibility & contrast

On white

3.06
#B877EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#B877EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877EA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877EA#FFFFFF#000000##000000
##B877EA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EE
Deuteranopia (green-blind)
#6B94E7
Tritanopia (blue-blind)
#B18AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b877ea;
/* rgb */ color: rgb(184, 119, 234);
/* oklch */ color: oklch(68.4% 0.174 308.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0f1',
    500: '#b877ea',
    950: '#000000',
  },
}
SCSS
$custom: #b877ea;
$custom-light: #d0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ea",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 273.913,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68354,
    "c": 0.1738,
    "h": 308.6
  },
  "luminance": 0.29325
}

Semantic roles & 50–950 ramp

primary
#B877EA
secondary
#DCEFCE
accent
#D51066
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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