#B876F7#B876F7

#B876F7 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.9% C 0.190 H 305.6°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B876F7
RGBrgb(184, 118, 247)
HSLhsl(271, 89%, 72%)
HSVhsv(271, 52%, 97%)
CMYKcmyk(25.5%, 52.2%, 0%, 3.1%)
CIE-LABlab(61.54, 49.72, -55.03)
CIE-LCHlch(61.54, 74.17, 312.10°)
OKLaboklab(68.92% 0.1108 -0.1547)
OKLCHoklch(68.92% 0.19 305.6)
XYZxyz(43.0306, 29.8629, 91.4749)
Luminance0.2986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876F7 #B5F776
analogous
#7876F7 #B876F7 #F776F5
triadic
#B876F7 #F7B876 #76F7B8
tetradic
#B876F7 #F77876 #B5F776 #76F5F7
square
#B876F7 #F77876 #B5F776 #76F5F7
split-complementary
#B876F7 #F5F776 #76F778
monochromatic
#7C0DE5 #9A3CF4 #B876F7 #D6B0FA #F0E2FD

Accessibility & contrast

On white

3.01
#B876F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B876F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B876F7
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876F7#FFFFFF#000000##000000
##B876F71.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FB
Deuteranopia (green-blind)
#6195F4
Tritanopia (blue-blind)
#AE8DAC
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b876f7;
/* rgb */ color: rgb(184, 118, 247);
/* oklch */ color: oklch(68.9% 0.190 305.6);
Tailwind
colors: {
  custom: {
    50: '#d09ffa',
    500: '#b876f7',
    950: '#000000',
  },
}
SCSS
$custom: #b876f7;
$custom-light: #d09ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b876f7",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 270.698,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.6892,
    "c": 0.19029,
    "h": 305.6
  },
  "luminance": 0.29863
}

Semantic roles & 50–950 ramp

primary
#B876F7
secondary
#E4F5D4
accent
#E60070
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B876F7

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

Preview Lab → · Contrast checker → · Palette generator →

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