#B877EB#B877EB

#B877EB is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.4% C 0.175 H 308.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#B877EB
RGBrgb(184, 119, 235)
HSLhsl(274, 74%, 69%)
HSVhsv(274, 49%, 92%)
CMYKcmyk(21.7%, 49.4%, 0%, 7.8%)
CIE-LABlab(61.12, 46.48, -49.05)
CIE-LCHlch(61.12, 67.58, 313.45°)
OKLaboklab(68.41% 0.1085 -0.1372)
OKLCHoklch(68.41% 0.175 308.3)
XYZxyz(41.3565, 29.3827, 82.0739)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877EB #AAEB77
analogous
#7E77EB #B877EB #EB77E4
triadic
#B877EB #EBB877 #77EBB8
tetradic
#B877EB #EB7E77 #AAEB77 #77E4EB
square
#B877EB #EB7E77 #AAEB77 #77E4EB
split-complementary
#B877EB #E4EB77 #77EB7E
monochromatic
#7E1ECA #9C42E3 #B877EB #D4ACF3 #F0E2FB

Accessibility & contrast

On white

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

On black

6.88
#B877EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877EB
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877EB#FFFFFF#000000##000000
##B877EB1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#B18BA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b877eb;
/* rgb */ color: rgb(184, 119, 235);
/* oklch */ color: oklch(68.4% 0.175 308.3);
Tailwind
colors: {
  custom: {
    50: '#d0a0f2',
    500: '#b877eb',
    950: '#000000',
  },
}
SCSS
$custom: #b877eb;
$custom-light: #d0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b877eb",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 273.621,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.17494,
    "h": 308.3
  },
  "luminance": 0.29382
}

Semantic roles & 50–950 ramp

primary
#B877EB
secondary
#DDF0CE
accent
#D60F67
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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