#B878FA#B878FA

#B878FA is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.4% C 0.191 H 304.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B878FA
RGBrgb(184, 120, 250)
HSLhsl(270, 93%, 73%)
HSVhsv(270, 52%, 98%)
CMYKcmyk(26.4%, 52%, 0%, 2%)
CIE-LABlab(62.11, 49.35, -55.78)
CIE-LCHlch(62.11, 74.48, 311.50°)
OKLaboklab(69.39% 0.1084 -0.1569)
OKLCHoklch(69.39% 0.191 304.7)
XYZxyz(43.7352, 30.5256, 94.0119)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B878FA #BAFA78
analogous
#7879FA #B878FA #F978FA
triadic
#B878FA #FAB878 #78FAB8
tetradic
#B878FA #FA7879 #BAFA78 #78FAF9
square
#B878FA #FA7879 #BAFA78 #78FAF9
split-complementary
#B878FA #FAF978 #79FA78
monochromatic
#7A09EF #993DF8 #B878FA #D7B3FC #EFE1FE

Accessibility & contrast

On white

2.96
#B878FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#B878FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B878FA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B878FA#FFFFFF#000000##000000
##B878FA1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D94FE
Deuteranopia (green-blind)
#6196F7
Tritanopia (blue-blind)
#AD90AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b878fa;
/* rgb */ color: rgb(184, 120, 250);
/* oklch */ color: oklch(69.4% 0.191 304.7);
Tailwind
colors: {
  custom: {
    50: '#d0a1fc',
    500: '#b878fa',
    950: '#000000',
  },
}
SCSS
$custom: #b878fa;
$custom-light: #d0a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b878fa",
  "rgb": {
    "r": 184,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 269.538,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.69393,
    "c": 0.19072,
    "h": 304.7
  },
  "luminance": 0.30525
}

Semantic roles & 50–950 ramp

primary
#B878FA
secondary
#E6F6D5
accent
#E60075
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F18
muted
#837F86

Preview Lab

Preview with #B878FA

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

Preview Lab → · Contrast checker → · Palette generator →

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