#B876EA#B876EA

#B876EA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.2% C 0.175 H 308.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B876EA
RGBrgb(184, 118, 234)
HSLhsl(274, 73%, 69%)
HSVhsv(274, 50%, 92%)
CMYKcmyk(21.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(60.86, 46.79, -48.91)
CIE-LCHlch(60.86, 67.68, 313.73°)
OKLaboklab(68.2% 0.1097 -0.1368)
OKLCHoklch(68.2% 0.175 308.7)
XYZxyz(41.0940, 29.0883, 81.2757)
Luminance0.2909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876EA #A8EA76
analogous
#7E76EA #B876EA #EA76E2
triadic
#B876EA #EAB876 #76EAB8
tetradic
#B876EA #EA7E76 #A8EA76 #76E2EA
square
#B876EA #EA7E76 #A8EA76 #76E2EA
split-complementary
#B876EA #E2EA76 #76EA7E
monochromatic
#7E1FC7 #9C41E2 #B876EA #D4ABF2 #EFE0FA

Accessibility & contrast

On white

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

On black

6.82
#B876EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B876EA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876EA#FFFFFF#000000##000000
##B876EA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6A94E7
Tritanopia (blue-blind)
#B18AA5
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b876ea;
/* rgb */ color: rgb(184, 118, 234);
/* oklch */ color: oklch(68.2% 0.175 308.7);
Tailwind
colors: {
  custom: {
    50: '#d09ff1',
    500: '#b876ea',
    950: '#000000',
  },
}
SCSS
$custom: #b876ea;
$custom-light: #d09ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#b876ea",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 274.138,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.68199,
    "c": 0.17537,
    "h": 308.7
  },
  "luminance": 0.29088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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