#B877EE#B877EE

#B877EE is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.178 H 307.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#B877EE
RGBrgb(184, 119, 238)
HSLhsl(273, 78%, 70%)
HSVhsv(273, 50%, 93%)
CMYKcmyk(22.7%, 50%, 0%, 6.7%)
CIE-LABlab(61.27, 47.15, -50.48)
CIE-LCHlch(61.27, 69.07, 313.05°)
OKLaboklab(68.57% 0.1088 -0.1414)
OKLCHoklch(68.57% 0.178 307.6)
XYZxyz(41.7935, 29.5575, 84.3758)
Luminance0.2956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B877EE #ADEE77
analogous
#7C77EE #B877EE #EE77E9
triadic
#B877EE #EEB877 #77EEB8
tetradic
#B877EE #EE7C77 #ADEE77 #77E9EE
square
#B877EE #EE7C77 #ADEE77 #77E9EE
split-complementary
#B877EE #E9EE77 #77EE7C
monochromatic
#7E1AD1 #9C41E7 #B877EE #D4ADF5 #F1E4FC

Accessibility & contrast

On white

3.04
#B877EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#B877EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B877EE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B877EE#FFFFFF#000000##000000
##B877EE1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F2
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#B08CA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b877ee;
/* rgb */ color: rgb(184, 119, 238);
/* oklch */ color: oklch(68.6% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0f4',
    500: '#b877ee',
    950: '#000000',
  },
}
SCSS
$custom: #b877ee;
$custom-light: #d0a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b877ee",
  "rgb": {
    "r": 184,
    "g": 119,
    "b": 238
  },
  "hsl": {
    "h": 272.773,
    "s": 77.778,
    "l": 70
  },
  "oklch": {
    "l": 0.68571,
    "c": 0.1784,
    "h": 307.6
  },
  "luminance": 0.29557
}

Semantic roles & 50–950 ramp

primary
#B877EE
secondary
#DFF1D0
accent
#DA0B69
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B877EE

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

Preview Lab → · Contrast checker → · Palette generator →

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