#B876EB#B876EB

#B876EB is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.177 H 308.5°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B876EB
RGBrgb(184, 118, 235)
HSLhsl(274, 75%, 69%)
HSVhsv(274, 50%, 92%)
CMYKcmyk(21.7%, 49.8%, 0%, 7.8%)
CIE-LABlab(60.91, 47.01, -49.38)
CIE-LCHlch(60.91, 68.18, 313.59°)
OKLaboklab(68.25% 0.1098 -0.1382)
OKLCHoklch(68.25% 0.177 308.5)
XYZxyz(41.2381, 29.1459, 82.0344)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876EB #A9EB76
analogous
#7E76EB #B876EB #EB76E4
triadic
#B876EB #EBB876 #76EBB8
tetradic
#B876EB #EB7E76 #A9EB76 #76E4EB
square
#B876EB #EB7E76 #A9EB76 #76E4EB
split-complementary
#B876EB #E4EB76 #76EB7E
monochromatic
#7E1DC9 #9C41E3 #B876EB #D4ABF3 #EFE1FB

Accessibility & contrast

On white

3.08
#B876EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B876EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B876EB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876EB#FFFFFF#000000##000000
##B876EB1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5690EF
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#B18AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b876eb;
/* rgb */ color: rgb(184, 118, 235);
/* oklch */ color: oklch(68.3% 0.177 308.5);
Tailwind
colors: {
  custom: {
    50: '#d09ff2',
    500: '#b876eb',
    950: '#000000',
  },
}
SCSS
$custom: #b876eb;
$custom-light: #d09ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b876eb",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 273.846,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.68253,
    "c": 0.17652,
    "h": 308.5
  },
  "luminance": 0.29145
}

Semantic roles & 50–950 ramp

primary
#B876EB
secondary
#DCEFCD
accent
#D70F66
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140F17
muted
#837E85

Preview Lab

Preview with #B876EB

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

Preview Lab → · Contrast checker → · Palette generator →

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