#B878F8#B878F8

#B878F8 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.3% C 0.188 H 305.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B878F8
RGBrgb(184, 120, 248)
HSLhsl(270, 90%, 72%)
HSVhsv(270, 52%, 97%)
CMYKcmyk(25.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(62.00, 48.89, -54.85)
CIE-LCHlch(62.00, 73.48, 311.71°)
OKLaboklab(69.28% 0.1083 -0.1542)
OKLCHoklch(69.28% 0.188 305.1)
XYZxyz(43.4233, 30.4008, 92.3691)
Luminance0.3040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B878F8 #B8F878
analogous
#7878F8 #B878F8 #F878F8
triadic
#B878F8 #F8B878 #78F8B8
tetradic
#B878F8 #F87878 #B8F878 #78F8F8
square
#B878F8 #F87878 #B8F878 #78F8F8
split-complementary
#B878F8 #F8F878 #78F878
monochromatic
#7B0CE9 #993EF5 #B878F8 #D7B2FB #F0E2FD

Accessibility & contrast

On white

2.97
#B878F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B878F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B878F8
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B878F8#FFFFFF#000000##000000
##B878F81.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6396F5
Tritanopia (blue-blind)
#AD8FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b878f8;
/* rgb */ color: rgb(184, 120, 248);
/* oklch */ color: oklch(69.3% 0.188 305.1);
Tailwind
colors: {
  custom: {
    50: '#d0a1fb',
    500: '#b878f8',
    950: '#000000',
  },
}
SCSS
$custom: #b878f8;
$custom-light: #d0a1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b878f8",
  "rgb": {
    "r": 184,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 270,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69279,
    "c": 0.1884,
    "h": 305.1
  },
  "luminance": 0.30401
}

Semantic roles & 50–950 ramp

primary
#B878F8
secondary
#E6F6D5
accent
#E60073
background
#FDFAFF
surface
#FAF3FF
border
#D3CDD7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B878F8

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

Preview Lab → · Contrast checker → · Palette generator →

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