#B876EC#B876EC

#B876EC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.178 H 308.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#B876EC
RGBrgb(184, 118, 236)
HSLhsl(274, 76%, 69%)
HSVhsv(274, 50%, 93%)
CMYKcmyk(22%, 50%, 0%, 7.5%)
CIE-LABlab(60.96, 47.23, -49.86)
CIE-LCHlch(60.96, 68.68, 313.45°)
OKLaboklab(68.31% 0.1099 -0.1396)
OKLCHoklch(68.31% 0.178 308.2)
XYZxyz(41.3829, 29.2039, 82.7975)
Luminance0.2920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876EC #AAEC76
analogous
#7D76EC #B876EC #EC76E5
triadic
#B876EC #ECB876 #76ECB8
tetradic
#B876EC #EC7D76 #AAEC76 #76E5EC
square
#B876EC #EC7D76 #AAEC76 #76E5EC
split-complementary
#B876EC #E5EC76 #76EC7D
monochromatic
#7E1CCB #9C40E5 #B876EC #D4ACF3 #F0E1FB

Accessibility & contrast

On white

3.07
#B876EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#B876EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B876EC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876EC#FFFFFF#000000##000000
##B876EC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6994E9
Tritanopia (blue-blind)
#B18AA6
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b876ec;
/* rgb */ color: rgb(184, 118, 236);
/* oklch */ color: oklch(68.3% 0.178 308.2);
Tailwind
colors: {
  custom: {
    50: '#d09ff2',
    500: '#b876ec',
    950: '#000000',
  },
}
SCSS
$custom: #b876ec;
$custom-light: #d09ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b876ec",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 273.559,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.68308,
    "c": 0.17767,
    "h": 308.2
  },
  "luminance": 0.29203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B876EC

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

Preview Lab → · Contrast checker → · Palette generator →

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