#B876FA#B876FA

#B876FA is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.1% C 0.194 H 305.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#B876FA
RGBrgb(184, 118, 250)
HSLhsl(270, 93%, 72%)
HSVhsv(270, 53%, 98%)
CMYKcmyk(26.4%, 52.8%, 0%, 2%)
CIE-LABlab(61.70, 50.41, -56.43)
CIE-LCHlch(61.70, 75.67, 311.77°)
OKLaboklab(69.09% 0.111 -0.1588)
OKLCHoklch(69.09% 0.194 305)
XYZxyz(43.4972, 30.0496, 93.9326)
Luminance0.3005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B876FA #B8FA76
analogous
#7676FA #B876FA #FA76FA
triadic
#B876FA #FAB876 #76FAB8
tetradic
#B876FA #FA7676 #B8FA76 #76FAFA
square
#B876FA #FA7676 #B8FA76 #76FAFA
split-complementary
#B876FA #FAFA76 #76FA76
monochromatic
#7B09ED #993BF8 #B876FA #D7B1FC #F0E1FE

Accessibility & contrast

On white

3.00
#B876FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#B876FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B876FA
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B876FA#FFFFFF#000000##000000
##B876FA1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#AD8EAD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b876fa;
/* rgb */ color: rgb(184, 118, 250);
/* oklch */ color: oklch(69.1% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#d09ffc',
    500: '#b876fa',
    950: '#000000',
  },
}
SCSS
$custom: #b876fa;
$custom-light: #d09ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#b876fa",
  "rgb": {
    "r": 184,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 270,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.19373,
    "h": 305
  },
  "luminance": 0.30049
}

Semantic roles & 50–950 ramp

primary
#B876FA
secondary
#E6F6D5
accent
#E60073
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F18
muted
#837E86

Preview Lab

Preview with #B876FA

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

Preview Lab → · Contrast checker → · Palette generator →

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