#B876FC#B876FC

#B876FC is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.2% C 0.196 H 304.5°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#B876FC
RGBrgb(184, 118, 252)
HSLhsl(270, 96%, 73%)
HSVhsv(270, 53%, 99%)
CMYKcmyk(27%, 53.2%, 0%, 1.2%)
CIE-LABlab(61.81, 50.87, -57.36)
CIE-LCHlch(61.81, 76.67, 311.57°)
OKLaboklab(69.21% 0.1111 -0.1615)
OKLCHoklch(69.21% 0.196 304.5)
XYZxyz(43.8125, 30.1757, 95.5930)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876FC #BAFC76
analogous
#7677FC #B876FC #FB76FC
triadic
#B876FC #FCB876 #76FCB8
tetradic
#B876FC #FC7677 #BAFC76 #76FCFB
square
#B876FC #FC7677 #BAFC76 #76FCFB
split-complementary
#B876FC #FCFB76 #77FC76
monochromatic
#7A05F2 #993AFB #B876FC #D7B2FD #EFE1FE

Accessibility & contrast

On white

2.99
#B876FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#B876FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B876FC
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876FC#FFFFFF#000000##000000
##B876FC1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#AC8FAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b876fc;
/* rgb */ color: rgb(184, 118, 252);
/* oklch */ color: oklch(69.2% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#d09ffe',
    500: '#b876fc',
    950: '#000000',
  },
}
SCSS
$custom: #b876fc;
$custom-light: #d09ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#b876fc",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 269.552,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69206,
    "c": 0.19602,
    "h": 304.5
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#B876FC
secondary
#E6F7D4
accent
#E60074
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B876FC

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

Preview Lab → · Contrast checker → · Palette generator →

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