#B876EF#B876EF

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

Color values

HEX#B876EF
RGBrgb(184, 118, 239)
HSLhsl(273, 79%, 70%)
HSVhsv(273, 51%, 94%)
CMYKcmyk(23%, 50.6%, 0%, 6.3%)
CIE-LABlab(61.12, 47.91, -51.28)
CIE-LCHlch(61.12, 70.18, 313.05°)
OKLaboklab(68.47% 0.1102 -0.1437)
OKLCHoklch(68.47% 0.181 307.5)
XYZxyz(41.8225, 29.3797, 85.1122)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876EF #ADEF76
analogous
#7B76EF #B876EF #EF76EA
triadic
#B876EF #EFB876 #76EFB8
tetradic
#B876EF #EF7B76 #ADEF76 #76EAEF
square
#B876EF #EF7B76 #ADEF76 #76EAEF
split-complementary
#B876EF #EAEF76 #76EF7B
monochromatic
#7E19D2 #9C3FE9 #B876EF #D4ADF5 #F1E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B876EF#FFFFFF#000000##000000
##B876EF1.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)
#5391F3
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#B08BA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b876ef;
/* rgb */ color: rgb(184, 118, 239);
/* oklch */ color: oklch(68.5% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#d09ff5',
    500: '#b876ef',
    950: '#000000',
  },
}
SCSS
$custom: #b876ef;
$custom-light: #d09ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#b876ef",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 272.727,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.68472,
    "c": 0.18111,
    "h": 307.5
  },
  "luminance": 0.29379
}

Semantic roles & 50–950 ramp

primary
#B876EF
secondary
#DFF1CF
accent
#DB0A69
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140F17
muted
#837E85

Preview Lab

Preview with #B876EF

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

Preview Lab → · Contrast checker → · Palette generator →

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